aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-08-23 09:10:03 +0000
committerThierry Vignaud <tv@mandriva.org>2006-08-23 09:10:03 +0000
commit9aaf74066b80aec5681da1f8678899fd8a1fec5c (patch)
tree5e925ba671a422d66661b809c5881763ca231f7a
parent880fce77566460b01c9d1552f0f3811875b6e11f (diff)
downloadrpmdrake-9aaf74066b80aec5681da1f8678899fd8a1fec5c.tar
rpmdrake-9aaf74066b80aec5681da1f8678899fd8a1fec5c.tar.gz
rpmdrake-9aaf74066b80aec5681da1f8678899fd8a1fec5c.tar.bz2
rpmdrake-9aaf74066b80aec5681da1f8678899fd8a1fec5c.tar.xz
rpmdrake-9aaf74066b80aec5681da1f8678899fd8a1fec5c.zip
(run_treeview_dialog) let gtk+ sort the list of packages
-rwxr-xr-xrpmdrake1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpmdrake b/rpmdrake
index 93ca49ac..daa23b0d 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -957,6 +957,7 @@ or you already installed all of them."));
$detail_tree = Gtk2::TreeView->new_with_model($detail_tree_model);
$detail_tree->append_column(my $pixcolumn = Gtk2::TreeViewColumn->new_with_attributes(undef, Gtk2::CellRendererPixbuf->new, 'pixbuf' => 1));
$detail_tree->append_column(my $main_textcolumn = Gtk2::TreeViewColumn->new_with_attributes(undef, Gtk2::CellRendererText->new, 'text' => 0));
+ $detail_tree_model->set_sort_column_id(0, 'ascending');
$detail_tree->append_column(Gtk2::TreeViewColumn->new_with_attributes(undef, Gtk2::CellRendererText->new, 'text' => 2));
#$detail_tree->append_column(Gtk2::TreeViewColumn->new_with_attributes(undef, Gtk2::CellRendererText->new, 'text' => 2));
$detail_tree->set_headers_visible(0);