diff options
-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)); |