summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-02 16:20:17 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-02 16:20:17 +0000
commit9078633772bc361d75b03777b7185af41035f944 (patch)
tree9608b01c07c24d5cdc053c67f8bb7d4fedae4dc1
parent7652e5c13aa8c6a682b7ba8a17a141fbb06916e8 (diff)
downloaddrakx-9078633772bc361d75b03777b7185af41035f944.tar
drakx-9078633772bc361d75b03777b7185af41035f944.tar.gz
drakx-9078633772bc361d75b03777b7185af41035f944.tar.bz2
drakx-9078633772bc361d75b03777b7185af41035f944.tar.xz
drakx-9078633772bc361d75b03777b7185af41035f944.zip
(ask_warn_) make "ask_warn" dialogs be centered at intall time
-rw-r--r--perl-install/install/NEWS2
-rw-r--r--perl-install/interactive.pm1
2 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 275e06454..df7c73bf1 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,5 @@
+- make "ask_warn" dialogs be centered
+
Version 11.33 - 2 September 2008
- further improve layout of media selection step
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm
index d1148a46b..3ac1a208b 100644
--- a/perl-install/interactive.pm
+++ b/perl-install/interactive.pm
@@ -218,6 +218,7 @@ sub ask_okcancel {
sub ask_warn_ {
my ($o, $common) = @_;
+ local $o->{modal} = $o->{modal} || $::isInstall; # make these popup at install time
ask_from_listf_raw_no_check($o, $common, \&translate, [ $o->ok ]);
}