projects
/
gonvert
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor whitespace cleanup
[gonvert]
/
src
/
gonvert_glade.py
diff --git
a/src/gonvert_glade.py
b/src/gonvert_glade.py
index
2e862b3
..
f4ea2f8
100755
(executable)
--- a/
src/gonvert_glade.py
+++ b/
src/gonvert_glade.py
@@
-410,8
+410,10
@@
class Gonvert(object):
if col is maybeCol:
direction = getattr(self, directionName)
gtkDirection = gtk.SORT_ASCENDING if direction else gtk.SORT_DESCENDING
if col is maybeCol:
direction = getattr(self, directionName)
gtkDirection = gtk.SORT_ASCENDING if direction else gtk.SORT_DESCENDING
+
# cause a sort
self._sortedUnitModel.set_sort_column_id(columnIndex, gtkDirection)
# cause a sort
self._sortedUnitModel.set_sort_column_id(columnIndex, gtkDirection)
+
# set the visual for sorting
col.set_sort_indicator(True)
col.set_sort_order(not direction)
# set the visual for sorting
col.set_sort_indicator(True)
col.set_sort_order(not direction)