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