diff options
Diffstat (limited to 'perl-install/ugtk3.pm')
-rw-r--r-- | perl-install/ugtk3.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/ugtk3.pm b/perl-install/ugtk3.pm index dad860cb8..ce3db3e31 100644 --- a/perl-install/ugtk3.pm +++ b/perl-install/ugtk3.pm @@ -951,7 +951,8 @@ sub ask_browse_tree_info { } my %toolbar = @toolbar; foreach (grep_index { $::i % 2 == 0 } @toolbar) { - $toolbar->append_item(undef, $toolbar{$_}[0], undef, gtkcreate_img("$_.png"), $toolbar{$_}[1]); + my $t = gtknew('ToolButton', tooltip => $toolbar{$_}[0], file => "$_.png", clicked => $toolbar{$_}[1]); + $toolbar->insert($t, -1); } $pixcolumn->{is_pix} = 1; |