summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-09-25 22:00:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-09-25 22:00:16 +0000
commite38950a33c3505db7e79547622aa5946cfe88d5c (patch)
treeecb94365673b2f74e264d0cae8467a4481aea21f /perl-install/interactive_gtk.pm
parent5692f13be4ba57a7f52b54a7576bd858f418dc14 (diff)
downloaddrakx-backup-do-not-use-e38950a33c3505db7e79547622aa5946cfe88d5c.tar
drakx-backup-do-not-use-e38950a33c3505db7e79547622aa5946cfe88d5c.tar.gz
drakx-backup-do-not-use-e38950a33c3505db7e79547622aa5946cfe88d5c.tar.bz2
drakx-backup-do-not-use-e38950a33c3505db7e79547622aa5946cfe88d5c.tar.xz
drakx-backup-do-not-use-e38950a33c3505db7e79547622aa5946cfe88d5c.zip
no_comment
Diffstat (limited to 'perl-install/interactive_gtk.pm')
-rw-r--r--perl-install/interactive_gtk.pm6
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),