aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-18 18:12:57 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-18 18:12:57 +0000
commit0e42b1d5818767ed68249e26b826ce205b1d5035 (patch)
tree7a9a5aaf251d7986221923b4c7a0da2e3742b46e
parenta21d319bbf66f28068c75ae60b9efccd5f4e8fe8 (diff)
downloadrpmdrake-0e42b1d5818767ed68249e26b826ce205b1d5035.tar
rpmdrake-0e42b1d5818767ed68249e26b826ce205b1d5035.tar.gz
rpmdrake-0e42b1d5818767ed68249e26b826ce205b1d5035.tar.bz2
rpmdrake-0e42b1d5818767ed68249e26b826ce205b1d5035.tar.xz
rpmdrake-0e42b1d5818767ed68249e26b826ce205b1d5035.zip
(run_treeview_dialog) enable to sort by selected status(#27338)
-rwxr-xr-xrpmdrake1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpmdrake b/rpmdrake
index 1cc5717a..865a5bd4 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -182,6 +182,7 @@ sub run_treeview_dialog {
$detail_list->append_column(my $col1 = Gtk2::TreeViewColumn->new_with_attributes(undef, Gtk2::CellRendererToggle->new, active => $pkg_columns{selected}));
$col1->set_fixed_width(34); # w/o this the toggle cells are not displayed
$col1->set_sizing('fixed');
+ $col1->set_sort_column_id($pkg_columns{selected});
$detail_list->append_column(my $pixcolumn = Gtk2::TreeViewColumn->new_with_attributes(undef, my $rdr = Gtk2::CellRendererPixbuf->new, 'pixbuf' => $pkg_columns{state_icon}));
$rdr->set_fixed_size(34, 24);