diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-07-08 01:36:30 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-07-08 01:36:30 +0000 |
commit | ee44bdb9cad55f9caab2d722bb8d6edeacfbd345 (patch) | |
tree | 5e4781df47421c150d43c7dc0bfe61bd0b001f9a | |
parent | 937e8cc4bddb4887b80bd99329554c8262a6f566 (diff) | |
download | rpmdrake-ee44bdb9cad55f9caab2d722bb8d6edeacfbd345.tar rpmdrake-ee44bdb9cad55f9caab2d722bb8d6edeacfbd345.tar.gz rpmdrake-ee44bdb9cad55f9caab2d722bb8d6edeacfbd345.tar.bz2 rpmdrake-ee44bdb9cad55f9caab2d722bb8d6edeacfbd345.tar.xz rpmdrake-ee44bdb9cad55f9caab2d722bb8d6edeacfbd345.zip |
Remove perl bug workaround, now unneeded
-rwxr-xr-x | rpmdrake | 6 | ||||
-rw-r--r-- | rpmdrake.pm | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -683,11 +683,11 @@ or you already installed all of them.")); $tree = Gtk2::TreeView->new_with_model($tree_model); $tree->get_selection->set_mode('browse'); - $tree->append_column(my $pixcolumn = Gtk2::TreeViewColumn->new_with_attributes('', Gtk2::CellRendererPixbuf->new, 'pixbuf' => 1)); + $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('', Gtk2::CellRendererText->new, 'text' => 0)); + $tree->append_column(my $textcolumn = Gtk2::TreeViewColumn->new_with_attributes(undef, Gtk2::CellRendererText->new, 'text' => 0)); - $tree->append_column(Gtk2::TreeViewColumn->new_with_attributes('', Gtk2::CellRendererText->new, 'text' => 2)); + $tree->append_column(Gtk2::TreeViewColumn->new_with_attributes(undef, Gtk2::CellRendererText->new, 'text' => 2)); $tree->set_headers_visible(0); $tree->set_rules_hint(1); diff --git a/rpmdrake.pm b/rpmdrake.pm index ce17587b..6141d985 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -408,7 +408,7 @@ by Mandrake Linux Official Updates.")), return ''; my $tree_model = Gtk2::TreeStore->new("Glib::String"); my $tree = Gtk2::TreeView->new_with_model($tree_model); $tree->get_selection->set_mode('browse'); - my $column = Gtk2::TreeViewColumn->new_with_attributes('', Gtk2::CellRendererText->new, 'text' => 0); + my $column = Gtk2::TreeViewColumn->new_with_attributes(undef, Gtk2::CellRendererText->new, 'text' => 0); $tree->append_column($column); $tree->set_headers_visible(0); |