summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-09-10 04:26:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-09-10 04:26:16 +0000
commit95924993b84755c576b1e85f79b28df0bde129e7 (patch)
tree846984458496bdbe220048e736a7edf906514967 /perl-install
parentd96d84bf2e9947708400a926df47e40f2f7c1e78 (diff)
downloaddrakx-backup-do-not-use-95924993b84755c576b1e85f79b28df0bde129e7.tar
drakx-backup-do-not-use-95924993b84755c576b1e85f79b28df0bde129e7.tar.gz
drakx-backup-do-not-use-95924993b84755c576b1e85f79b28df0bde129e7.tar.bz2
drakx-backup-do-not-use-95924993b84755c576b1e85f79b28df0bde129e7.tar.xz
drakx-backup-do-not-use-95924993b84755c576b1e85f79b28df0bde129e7.zip
for ask_warn with big text, create a bigger window
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/interactive/gtk.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index 1b930f470..d1dae1559 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -592,8 +592,9 @@ sub ask_fromW {
@widgets_always = map_index { $create_widget->($_, $::i) } @$l;
@widgets_advanced = map_index { $create_widget->($_, $::i + @$l) } @$l2;
+ $mainw->{box_allow_grow} = !@$l;
my $pack = create_box_with_title($mainw, @{$common->{messages}});
- ugtk2::set_main_window_size($mainw) if $mainw->{pop_it} && @$l;
+ ugtk2::set_main_window_size($mainw) if $mainw->{pop_it} && (@$l || $mainw->{box_size} == 200);
my @before_widgets_advanced = (
(map { { grow => 0, real_w => Gtk2::WrappedLabel->new($_) } } @{$common->{advanced_messages}}),