summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-09-26 16:15:03 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-09-26 16:15:03 +0000
commitb3f38ef54228345b51813641a044a8bf615b3b95 (patch)
treeb29e83e84b22ffeba0b6512a416f18bab40e7a50 /perl-install/interactive_gtk.pm
parent5088bd44d2469cbcd9e58ee8f6cae74bc9e43cfd (diff)
downloaddrakx-b3f38ef54228345b51813641a044a8bf615b3b95.tar
drakx-b3f38ef54228345b51813641a044a8bf615b3b95.tar.gz
drakx-b3f38ef54228345b51813641a044a8bf615b3b95.tar.bz2
drakx-b3f38ef54228345b51813641a044a8bf615b3b95.tar.xz
drakx-b3f38ef54228345b51813641a044a8bf615b3b95.zip
no_comment
Diffstat (limited to 'perl-install/interactive_gtk.pm')
-rw-r--r--perl-install/interactive_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive_gtk.pm b/perl-install/interactive_gtk.pm
index ff1e48292..bd2063717 100644
--- a/perl-install/interactive_gtk.pm
+++ b/perl-install/interactive_gtk.pm
@@ -225,7 +225,7 @@ sub ask_many_from_listW {
my $f = $l->{icons}[$i];
-e $f ? gtkpack_(new Gtk::HBox(0,10), 0, new Gtk::Pixmap(gtkcreate_xpm($w->{window}, $f)), 1, $o) : $o;
} @{$l->{labels}});
- @{$l->{labels}} > 11 ? gtkset_usize(createScrolledWindow($box), @{$l->{icons}} ? 350 : 0, $::windowheight - 200) : $box;
+ @{$l->{labels}} > (@{$l->{icons}} ? 5 : 11) ? gtkset_usize(createScrolledWindow($box), @{$l->{icons}} ? 350 : 0, $::windowheight - 200) : $box;
} @l;
gtkadd($w->{window},
gtkpack_(create_box_with_title($w, @$messages),