diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-01-10 14:06:21 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-01-10 14:06:21 +0000 |
commit | 95dd9a1a84a0d78396d8bb83cf235a375110d5b0 (patch) | |
tree | b07f17914586c6974b7ede146bab2efa37fcc4b6 /perl-install | |
parent | 7c6ceeeecb03c616b7cfab199212bd6436cba884 (diff) | |
download | drakx-95dd9a1a84a0d78396d8bb83cf235a375110d5b0.tar drakx-95dd9a1a84a0d78396d8bb83cf235a375110d5b0.tar.gz drakx-95dd9a1a84a0d78396d8bb83cf235a375110d5b0.tar.bz2 drakx-95dd9a1a84a0d78396d8bb83cf235a375110d5b0.tar.xz drakx-95dd9a1a84a0d78396d8bb83cf235a375110d5b0.zip |
*** empty log message ***
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/my_gtk.pm | 17 |
1 files changed, 8 insertions, 9 deletions
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, + ); } } |