summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-13 15:39:51 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-13 15:39:51 +0000
commitda0234d25136a4b64becb13203e5dac4304632f1 (patch)
treed8dbaab9068b0fd638b0c576f1fba85ebbbe944e
parentbef0c959eb49bd3f4121288c0c5e11bf19d708ab (diff)
downloaddrakx-da0234d25136a4b64becb13203e5dac4304632f1.tar
drakx-da0234d25136a4b64becb13203e5dac4304632f1.tar.gz
drakx-da0234d25136a4b64becb13203e5dac4304632f1.tar.bz2
drakx-da0234d25136a4b64becb13203e5dac4304632f1.tar.xz
drakx-da0234d25136a4b64becb13203e5dac4304632f1.zip
- for wait_message, display a banner and move "Please Wait" in the banner
-rw-r--r--perl-install/install/NEWS1
-rw-r--r--perl-install/interactive/gtk.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 4810983c2..303ba7675 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -3,6 +3,7 @@
- fix unwrapped label (#33243)
- fix grub hanging if /boot on xfs (#33267)
- use user_xattr by default on reiserfs (#15068)
+- for wait_message, display a banner and move "Please Wait" in the banner
Version 10.4.191 - 5 September 2007, by Thierry Vignaud
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index 306ea0c9e..2ba674a88 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -831,10 +831,10 @@ sub wait_messageW {
title => $title,
pop_it => !$::isInstall,
modal => 1,
+ $::isInstall ? (banner => Gtk2::Banner->new((get_default_step_items())[0], $message)) : (),
no_Window_Manager => exists $o->{no_Window_Manager} ? $o->{no_Window_Manager} : !$::isStandalone,
if__($::main_window, transient_for => $::main_window),
child => gtknew('VBox', padding => 4, border_width => 10, children => [
- 0, Gtk2::Label->new(scalar warp_text($message)),
1, $to_modify,
if_(ref($message_modifiable), 0, $message_modifiable),
]),