From 95dd9a1a84a0d78396d8bb83cf235a375110d5b0 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 10 Jan 2001 14:06:21 +0000 Subject: *** empty log message *** --- perl-install/my_gtk.pm | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'perl-install/my_gtk.pm') diff --git a/perl-install/my_gtk.pm b/perl-install/my_gtk.pm index cc63d80ae..41f7385a2 100644 --- a/perl-install/my_gtk.pm +++ b/perl-install/my_gtk.pm @@ -255,7 +255,6 @@ sub create_okcancel { sub create_box_with_title($@) { my $o = shift; - my $nb_lines = map { split "\n" } @_; $o->{box} = new Gtk::VBox(0,0); if (@_ <= 2 && $nb_lines > 4) { @@ -265,14 +264,14 @@ sub create_box_with_title($@) { $scroll->set_usize(400, min(250, $nb_lines * ($font->ascent + $font->descent) + 7)); gtkpack__($o->{box}, $scroll); } else { - gtkpack($o->{box}, - (map { - my $w = ref $_ ? $_ : new Gtk::Label($_); - $w->set_name("Title"); - $w; - } map { ref $_ ? $_ : warp_text($_) } @_), - new Gtk::HSeparator, - ); + gtkpack__($o->{box}, + (map { + my $w = ref $_ ? $_ : new Gtk::Label($_); + $w->set_name("Title"); + $w; + } map { ref $_ ? $_ : warp_text($_) } @_), + new Gtk::HSeparator, + ); } } -- cgit v1.2.1