diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-08-23 09:10:03 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-08-23 09:10:03 +0000 |
commit | 9aaf74066b80aec5681da1f8678899fd8a1fec5c (patch) | |
tree | 5e925ba671a422d66661b809c5881763ca231f7a | |
parent | 880fce77566460b01c9d1552f0f3811875b6e11f (diff) | |
download | rpmdrake-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-x | rpmdrake | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |