diff options
Diffstat (limited to 'perl-install/interactive_gtk.pm')
-rw-r--r-- | perl-install/interactive_gtk.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/interactive_gtk.pm b/perl-install/interactive_gtk.pm index eae43f1f3..ff1e48292 100644 --- a/perl-install/interactive_gtk.pm +++ b/perl-install/interactive_gtk.pm @@ -210,7 +210,7 @@ sub ask_many_from_listW { my $tips = new Gtk::Tooltips; my @boxes; @boxes = map { my $l = $_; - my $box = gtkpack(new Gtk::VBox(0,0), + my $box = gtkpack(new Gtk::VBox(0, @{$l->{icons}} ? 10 : 0), map_index { my $i = $::i; @@ -223,9 +223,9 @@ sub ask_many_from_listW { }); my $f = $l->{icons}[$i]; - -e $f ? gtkpack_(new Gtk::HBox(0,0), 0, new Gtk::Pixmap(gtkcreate_xpm($w->{window}, $f)), 1, $o) : $o; + -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), 0, 250) : $box; + @{$l->{labels}} > 11 ? gtkset_usize(createScrolledWindow($box), @{$l->{icons}} ? 350 : 0, $::windowheight - 200) : $box; } @l; gtkadd($w->{window}, gtkpack_(create_box_with_title($w, @$messages), |