summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-23 10:29:54 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-23 10:29:54 +0000
commit814cb567cbc85a2dd2f36dd00cf353b7f9a3d785 (patch)
tree89334d47dbc3cd94ad14190e1d28fd337347219f
parent8126e3d00da88ec7c042979bb019c4e479e15e44 (diff)
downloaddrakx-814cb567cbc85a2dd2f36dd00cf353b7f9a3d785.tar
drakx-814cb567cbc85a2dd2f36dd00cf353b7f9a3d785.tar.gz
drakx-814cb567cbc85a2dd2f36dd00cf353b7f9a3d785.tar.bz2
drakx-814cb567cbc85a2dd2f36dd00cf353b7f9a3d785.tar.xz
drakx-814cb567cbc85a2dd2f36dd00cf353b7f9a3d785.zip
when standalone, use the name of the program for the window title
-rw-r--r--perl-install/interactive.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm
index 6d8f3b73b..bb3d63a4f 100644
--- a/perl-install/interactive.pm
+++ b/perl-install/interactive.pm
@@ -314,6 +314,9 @@ sub ask_from_normalize {
}
} @$l;
+ if (!$common->{title} && $::isStandalone) {
+ ($common->{title} = $0) =~ s|.*/||;
+ }
$common->{advanced_label} ||= _("Advanced");
$common->{advanced_label_close} ||= _("Basic");
$common->{$_} = [ deref($common->{$_}) ] foreach qw(messages advanced_messages);