summaryrefslogtreecommitdiffstats
path: root/perl-install/my_gtk.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/my_gtk.pm')
-rw-r--r--perl-install/my_gtk.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/my_gtk.pm b/perl-install/my_gtk.pm
index d2985c478..a4eaa7583 100644
--- a/perl-install/my_gtk.pm
+++ b/perl-install/my_gtk.pm
@@ -370,6 +370,7 @@ sub create_box_with_title($@) {
$o->{box_size} = sum(map { round(length($_) / 60 + 0.5) } map { split "\n" } @_);
$o->{box} = new Gtk::VBox(0,0);
+ $o->{icon} and eval { gtkpack__($o->{box}, gtkset_border_width(gtkpack_(new Gtk::HBox(0,0), 1, gtkpng($o->{icon})),5)); };
if (@_ <= 2 && $o->{box_size} > 4) {
my $font = $o->{box}->style->font;
my $wanted = $o->{box_size} * ($font->ascent + $font->descent) + 7;