aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-08-23 09:10:09 +0000
committerThierry Vignaud <tv@mandriva.org>2006-08-23 09:10:09 +0000
commit9efb5a2bf34b96a762a1e161c4f00e6286ab4adc (patch)
tree71c6bc279ad7d1078f9b3fcb4f4ab3ecfae861d8
parent9aaf74066b80aec5681da1f8678899fd8a1fec5c (diff)
downloadrpmdrake-9efb5a2bf34b96a762a1e161c4f00e6286ab4adc.tar
rpmdrake-9efb5a2bf34b96a762a1e161c4f00e6286ab4adc.tar.gz
rpmdrake-9efb5a2bf34b96a762a1e161c4f00e6286ab4adc.tar.bz2
rpmdrake-9efb5a2bf34b96a762a1e161c4f00e6286ab4adc.tar.xz
rpmdrake-9efb5a2bf34b96a762a1e161c4f00e6286ab4adc.zip
(run_treeview_dialog) let gtk+ sort the list of groups
-rwxr-xr-xrpmdrake1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpmdrake b/rpmdrake
index daa23b0d..123d1dc0 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -942,6 +942,7 @@ or you already installed all of them."));
}
$tree_model = Gtk2::TreeStore->new("Glib::String", "Gtk2::Gdk::Pixbuf", "Glib::String");
+ $tree_model->set_sort_column_id(0, 'ascending');
$tree = Gtk2::TreeView->new_with_model($tree_model);
$tree->get_selection->set_mode('browse');