diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-08 03:29:08 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-24 23:28:16 +0100 |
commit | a45c4e4ca33cc642f3dfac9d9b6652a0cb40485f (patch) | |
tree | 49a2fbc79bb3afc0e90d9a3019a2c2f1cd90a542 /perl-install/ugtk3.pm | |
parent | b9dcdd9e3db2bd26f501f7edfd94a54ec778829d (diff) | |
download | drakx-a45c4e4ca33cc642f3dfac9d9b6652a0cb40485f.tar drakx-a45c4e4ca33cc642f3dfac9d9b6652a0cb40485f.tar.gz drakx-a45c4e4ca33cc642f3dfac9d9b6652a0cb40485f.tar.bz2 drakx-a45c4e4ca33cc642f3dfac9d9b6652a0cb40485f.tar.xz drakx-a45c4e4ca33cc642f3dfac9d9b6652a0cb40485f.zip |
those setters no more accept undef
Diffstat (limited to 'perl-install/ugtk3.pm')
-rw-r--r-- | perl-install/ugtk3.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/ugtk3.pm b/perl-install/ugtk3.pm index 6f931a801..675c774db 100644 --- a/perl-install/ugtk3.pm +++ b/perl-install/ugtk3.pm @@ -559,7 +559,7 @@ sub create_okcancel { gtknew('HButtonBox', spacing => 5, layout => $_->[1], children_loose => [ map { - $_->set_can_default($::isWizard); + $_->set_can_default(to_bool($::isWizard)); $_; } grep { $_ } @{$_->[0]} ]); @@ -907,9 +907,9 @@ sub ask_browse_tree_info { my $tree_model = Gtk3::TreeStore->new("Glib::String", "Gtk3::Gdk::Pixbuf", "Glib::String"); my $tree = Gtk3::TreeView->new_with_model($tree_model); $tree->get_selection->set_mode('browse'); - $tree->append_column(my $textcolumn = Gtk3::TreeViewColumn->new_with_attributes(undef, Gtk3::CellRendererText->new, 'text' => 0)); - $tree->append_column(my $pixcolumn = Gtk3::TreeViewColumn->new_with_attributes(undef, Gtk3::CellRendererPixbuf->new, 'pixbuf' => 1)); - $tree->append_column(Gtk3::TreeViewColumn->new_with_attributes(undef, Gtk3::CellRendererText->new, 'text' => 2)); + $tree->append_column(my $textcolumn = Gtk3::TreeViewColumn->new_with_attributes("", Gtk3::CellRendererText->new, 'text' => 0)); + $tree->append_column(my $pixcolumn = Gtk3::TreeViewColumn->new_with_attributes("", Gtk3::CellRendererPixbuf->new, 'pixbuf' => 1)); + $tree->append_column(Gtk3::TreeViewColumn->new_with_attributes("", Gtk3::CellRendererText->new, 'text' => 2)); $tree->set_headers_visible(0); $tree->set_rules_hint(1); $textcolumn->set_min_width(200); |