rows_reoredered patch not yet in GTK
svn: r20833
This commit is contained in:
parent
29443339cb
commit
647c9cfef5
@ -620,7 +620,9 @@ class ListView(NavigationView):
|
||||
filter_info = (False, value, value[0] in self.exact_search())
|
||||
|
||||
if same_col:
|
||||
if (Gtk.get_major_version(), Gtk.get_minor_version()) >= (3,8):
|
||||
# activate when https://bugzilla.gnome.org/show_bug.cgi?id=684558
|
||||
# is resolved
|
||||
if False and (Gtk.get_major_version(), Gtk.get_minor_version()) >= (3,8):
|
||||
self.model.reverse_order()
|
||||
else:
|
||||
## GTK 3.6 rows_reordered not exposed by gi, we need to reconnect
|
||||
|
@ -723,7 +723,9 @@ class TreeBaseModel(GObject.Object, Gtk.TreeModel):
|
||||
else:
|
||||
iternode = self.get_iter(node)
|
||||
path = self.do_get_path(iternode)
|
||||
if self.GTK38PLUS:
|
||||
# activate when https://bugzilla.gnome.org/show_bug.cgi?id=684558
|
||||
# is resolved
|
||||
if False and self.GTK38PLUS:
|
||||
##rows_reordered is only exposed in gi starting GTK 3.8
|
||||
self.rows_reordered(path, iter, rows)
|
||||
if self.nrgroups > 1:
|
||||
|
Loading…
Reference in New Issue
Block a user