From 814cb567cbc85a2dd2f36dd00cf353b7f9a3d785 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 23 Aug 2002 10:29:54 +0000 Subject: when standalone, use the name of the program for the window title --- perl-install/interactive.pm | 3 +++ 1 file changed, 3 insertions(+) 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); -- cgit v1.2.1