diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-09-18 18:12:57 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-09-18 18:12:57 +0000 |
commit | 0e42b1d5818767ed68249e26b826ce205b1d5035 (patch) | |
tree | 7a9a5aaf251d7986221923b4c7a0da2e3742b46e | |
parent | a21d319bbf66f28068c75ae60b9efccd5f4e8fe8 (diff) | |
download | rpmdrake-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-x | rpmdrake | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |