aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-02-26 15:28:49 +0000
committerThierry Vignaud <tv@mandriva.org>2008-02-26 15:28:49 +0000
commit23e4c3e41a0612340c0888d97b4754bca7269f54 (patch)
treeea123e2f54091815fcd0da5fbf3e5411d378658c
parentb5dd28c46cf775303e48c4186e1ab590e96a9968 (diff)
downloadrpmdrake-23e4c3e41a0612340c0888d97b4754bca7269f54.tar
rpmdrake-23e4c3e41a0612340c0888d97b4754bca7269f54.tar.gz
rpmdrake-23e4c3e41a0612340c0888d97b4754bca7269f54.tar.bz2
rpmdrake-23e4c3e41a0612340c0888d97b4754bca7269f54.tar.xz
rpmdrake-23e4c3e41a0612340c0888d97b4754bca7269f54.zip
(run_treeview_dialog) move statut column at end
-rwxr-xr-xrpmdrake11
1 files changed, 6 insertions, 5 deletions
diff --git a/rpmdrake b/rpmdrake
index ae3fed2c..cd7a2b9b 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -236,11 +236,6 @@ 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"),
@@ -278,6 +273,12 @@ 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(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');
+
compute_main_window_size($w);
my $cursor_to_restore;