diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-02-26 15:29:37 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-02-26 15:29:37 +0000 |
commit | 4313907501f2ac97a4dc1f79023eb03766087bce (patch) | |
tree | 933b9ef06dc8b2ac6cdbf9ef456ee04496d5c0f6 | |
parent | 23e4c3e41a0612340c0888d97b4754bca7269f54 (diff) | |
download | rpmdrake-4313907501f2ac97a4dc1f79023eb03766087bce.tar rpmdrake-4313907501f2ac97a4dc1f79023eb03766087bce.tar.gz rpmdrake-4313907501f2ac97a4dc1f79023eb03766087bce.tar.bz2 rpmdrake-4313907501f2ac97a4dc1f79023eb03766087bce.tar.xz rpmdrake-4313907501f2ac97a4dc1f79023eb03766087bce.zip |
(run_treeview_dialog) add a label to statut column header
-rwxr-xr-x | rpmdrake | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -273,7 +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})); + $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 |