summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-08-27 17:16:06 +0000
committerThierry Vignaud <tv@mandriva.org>2008-08-27 17:16:06 +0000
commit6e0ac9671d45222f6e715061373d3a64d03e862a (patch)
treec617e5928b48fcf50c8b59e1367a33bad3c4b2dd /perl-install
parenta904f2d0bf2115132cc2ccabfed573927f7038f3 (diff)
downloaddrakx-6e0ac9671d45222f6e715061373d3a64d03e862a.tar
drakx-6e0ac9671d45222f6e715061373d3a64d03e862a.tar.gz
drakx-6e0ac9671d45222f6e715061373d3a64d03e862a.tar.bz2
drakx-6e0ac9671d45222f6e715061373d3a64d03e862a.tar.xz
drakx-6e0ac9671d45222f6e715061373d3a64d03e862a.zip
(wait_message) at install time, override default "please wait" title
with provided title if any (since anyway real window title isn't displayed at install time)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/interactive.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm
index f6bf95127..d1148a46b 100644
--- a/perl-install/interactive.pm
+++ b/perl-install/interactive.pm
@@ -579,8 +579,10 @@ sub ask_browse_tree_info_refW { #- default definition, do not use with too many
sub wait_message {
my ($o, $title, $message, $b_temp) = @_;
+ my $inline_title = $::isInstall ? $title : '';
+ $inline_title ||= N("Please wait");
- my $w = $o->wait_messageW($title, N("Please wait"), $message);
+ my $w = $o->wait_messageW($title, $inline_title, $message);
push @tempory::objects, $w if $b_temp;
my $b = before_leaving { $o->wait_message_endW($w) };