diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-02-26 15:26:14 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-02-26 15:26:14 +0000 |
commit | b5dd28c46cf775303e48c4186e1ab590e96a9968 (patch) | |
tree | 9d7f2016fab4cd9efe08cbd12039d12661e18945 | |
parent | 7746ddaba9ee1f5f38afaaa8dd3b0c5815447218 (diff) | |
download | rpmdrake-b5dd28c46cf775303e48c4186e1ab590e96a9968.tar rpmdrake-b5dd28c46cf775303e48c4186e1ab590e96a9968.tar.gz rpmdrake-b5dd28c46cf775303e48c4186e1ab590e96a9968.tar.bz2 rpmdrake-b5dd28c46cf775303e48c4186e1ab590e96a9968.tar.xz rpmdrake-b5dd28c46cf775303e48c4186e1ab590e96a9968.zip |
revert latest commit
-rwxr-xr-x | rpmdrake | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -236,6 +236,11 @@ sub run_treeview_dialog { $col_sel->set_sizing('fixed'); $col_sel->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); + $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 = ( 'name' => { title => N("Package"), @@ -273,12 +278,6 @@ sub run_treeview_dialog { $detail_list_model->set_sort_func($pkg_columns{version}, \&sort_callback); $detail_list->set_rules_hint(1); - $detail_list->append_column(my $pixcolumn = Gtk2::TreeViewColumn->new_with_attributes(N("Statut"), 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'); - compute_main_window_size($w); my $cursor_to_restore; |