diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-09-19 13:29:37 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-09-19 13:29:37 +0000 |
commit | dd43564ca3b95df48abded396a9f8cafe0e3f402 (patch) | |
tree | 3c013bb32ba500d83f6b15c7e4eea87dcfe91479 | |
parent | f393aa88c82649918d32858baeb7d7a1169aed6d (diff) | |
download | rpmdrake-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-x | rpmdrake | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 = ( |