aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-19 13:29:37 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-19 13:29:37 +0000
commitdd43564ca3b95df48abded396a9f8cafe0e3f402 (patch)
tree3c013bb32ba500d83f6b15c7e4eea87dcfe91479
parentf393aa88c82649918d32858baeb7d7a1169aed6d (diff)
downloadrpmdrake-dd43564ca3b95df48abded396a9f8cafe0e3f402.tar
rpmdrake-dd43564ca3b95df48abded396a9f8cafe0e3f402.tar.gz
rpmdrake-dd43564ca3b95df48abded396a9f8cafe0e3f402.tar.bz2
rpmdrake-dd43564ca3b95df48abded396a9f8cafe0e3f402.tar.xz
rpmdrake-dd43564ca3b95df48abded396a9f8cafe0e3f402.zip
(run_treeview_dialog) enable to sort by state
-rwxr-xr-xrpmdrake1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpmdrake b/rpmdrake
index 865a5bd4..d4584dfe 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -186,6 +186,7 @@ sub run_treeview_dialog {
$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);
+ $pixcolumn->set_sort_column_id($pkg_columns{state});
$pixcolumn->set_fixed_width(34); # w/o this the pixbuf cells is empty
$pixcolumn->set_sizing('fixed');
my %columns = (