summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-12-22 20:07:36 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-12-22 20:07:36 +0000
commite1922243bd426cc4af43aa806027d3c8e1c2a810 (patch)
treea86284d78d0b3f165d5b224d4cfebcd5a899d55d /perl-install/interactive_gtk.pm
parent780e03f8220980809fa187aa442978dd2ab7cc33 (diff)
downloaddrakx-backup-do-not-use-e1922243bd426cc4af43aa806027d3c8e1c2a810.tar
drakx-backup-do-not-use-e1922243bd426cc4af43aa806027d3c8e1c2a810.tar.gz
drakx-backup-do-not-use-e1922243bd426cc4af43aa806027d3c8e1c2a810.tar.bz2
drakx-backup-do-not-use-e1922243bd426cc4af43aa806027d3c8e1c2a810.tar.xz
drakx-backup-do-not-use-e1922243bd426cc4af43aa806027d3c8e1c2a810.zip
no_comment
Diffstat (limited to 'perl-install/interactive_gtk.pm')
-rw-r--r--perl-install/interactive_gtk.pm6
1 files changed, 1 insertions, 5 deletions
diff --git a/perl-install/interactive_gtk.pm b/perl-install/interactive_gtk.pm
index faa26a7e3..0b330bfdd 100644
--- a/perl-install/interactive_gtk.pm
+++ b/perl-install/interactive_gtk.pm
@@ -31,12 +31,8 @@ sub ask_from_listW {
if (@$l < 5) { #- really ? : && sum(map { length $_ } @$l) < 90) {
my $defW;
my $f = sub { $w->{retval} = $_[1]; Gtk->main_quit };
- my $box = (@$l <= 2 && (map { split "\n" } @$messages) > 6) ?
- gtkpack(new Gtk::VBox(0,0),
- gtkset_usize(createScrolledWindow(gtktext_insert(new Gtk::Text, join "\n", @$messages)), 400, 250)) :
- create_box_with_title($w, @$messages);
gtkadd($w->{window},
- gtkpack($box,
+ gtkpack(create_box_with_title($w, @$messages),
gtkadd((@$l < 3 ? create_hbox() : create_vbox()),
map {
my $b = new Gtk::Button($_);