diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-08-23 10:29:54 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-08-23 10:29:54 +0000 |
commit | 814cb567cbc85a2dd2f36dd00cf353b7f9a3d785 (patch) | |
tree | 89334d47dbc3cd94ad14190e1d28fd337347219f | |
parent | 8126e3d00da88ec7c042979bb019c4e479e15e44 (diff) | |
download | drakx-backup-do-not-use-814cb567cbc85a2dd2f36dd00cf353b7f9a3d785.tar drakx-backup-do-not-use-814cb567cbc85a2dd2f36dd00cf353b7f9a3d785.tar.gz drakx-backup-do-not-use-814cb567cbc85a2dd2f36dd00cf353b7f9a3d785.tar.bz2 drakx-backup-do-not-use-814cb567cbc85a2dd2f36dd00cf353b7f9a3d785.tar.xz drakx-backup-do-not-use-814cb567cbc85a2dd2f36dd00cf353b7f9a3d785.zip |
when standalone, use the name of the program for the window title
-rw-r--r-- | perl-install/interactive.pm | 3 |
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); |