little fix in pendings display

This commit is contained in:
guinux 2017-03-04 09:51:15 +01:00
parent a11a02c7cf
commit 61981732bf

View File

@ -1616,8 +1616,8 @@ namespace Pamac {
filters_stack.notify["visible-child"].connect (on_filters_stack_visible_child_changed); filters_stack.notify["visible-child"].connect (on_filters_stack_visible_child_changed);
Gtk.TreeIter iter; Gtk.TreeIter iter;
// show "Pending" in states_list // show "Pending" in states_list
// "Pending" is at indice 3 // "Pending" is at indice 4
states_list.get_iter (out iter, new Gtk.TreePath.from_indices (3)); states_list.get_iter (out iter, new Gtk.TreePath.from_indices (4));
Gtk.TreeSelection selection = states_treeview.get_selection (); Gtk.TreeSelection selection = states_treeview.get_selection ();
selection.changed.disconnect (on_states_treeview_selection_changed); selection.changed.disconnect (on_states_treeview_selection_changed);
selection.select_iter (iter); selection.select_iter (iter);