diff options
Diffstat (limited to 'perl-install/my_gtk.pm')
-rw-r--r-- | perl-install/my_gtk.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/my_gtk.pm b/perl-install/my_gtk.pm index 09feb7c19..2fdfdda19 100644 --- a/perl-install/my_gtk.pm +++ b/perl-install/my_gtk.pm @@ -175,8 +175,10 @@ sub create_okcancel($;$$) { sub create_box_with_title($@) { my $o = shift; + + @_ = map { warp_text($_) } @_; $o->{box} = gtkpack_(new Gtk::VBox(0,0), - map({ + map({ my $w = ref $_ ? $_ : new Gtk::Label($_); $w->set_name("Title"); 0, $w; |