diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-08-23 09:10:28 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-08-23 09:10:28 +0000 |
commit | fc8152c1fe8d41fd413d1e591b6462a004501994 (patch) | |
tree | 03399b2ae7cca972c67e5990adb8880d549a8760 /rpmdrake | |
parent | 9efb5a2bf34b96a762a1e161c4f00e6286ab4adc (diff) | |
download | rpmdrake-fc8152c1fe8d41fd413d1e591b6462a004501994.tar rpmdrake-fc8152c1fe8d41fd413d1e591b6462a004501994.tar.gz rpmdrake-fc8152c1fe8d41fd413d1e591b6462a004501994.tar.bz2 rpmdrake-fc8152c1fe8d41fd413d1e591b6462a004501994.tar.xz rpmdrake-fc8152c1fe8d41fd413d1e591b6462a004501994.zip |
(run_treeview_dialog) no more state icon/checkbox in group tree; this also
make the tree really looks like a tree (else Gtk+ indent all levels at the
same depth)
Diffstat (limited to 'rpmdrake')
-rwxr-xr-x | rpmdrake | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -941,13 +941,11 @@ or you already installed all of them.")); $pkgs->{$_}{selected} = 0 foreach keys %$pkgs; } - $tree_model = Gtk2::TreeStore->new("Glib::String", "Gtk2::Gdk::Pixbuf", "Glib::String"); + $tree_model = Gtk2::TreeStore->new("Glib::String", "Glib::String"); $tree_model->set_sort_column_id(0, 'ascending'); $tree = Gtk2::TreeView->new_with_model($tree_model); $tree->get_selection->set_mode('browse'); - $tree->append_column(my $pixcolumn = Gtk2::TreeViewColumn->new_with_attributes(undef, Gtk2::CellRendererPixbuf->new, 'pixbuf' => 1)); - $pixcolumn->{is_pix} = 1; $tree->append_column(my $textcolumn = Gtk2::TreeViewColumn->new_with_attributes(undef, Gtk2::CellRendererText->new, 'text' => 0)); $tree->append_column(Gtk2::TreeViewColumn->new_with_attributes(undef, Gtk2::CellRendererText->new, 'text' => 2)); |