summaryrefslogtreecommitdiffstats
path: root/perl-install/printerdrake.pm
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2002-08-26 22:42:54 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2002-08-26 22:42:54 +0000
commit5dbcbceabc4ac39029b47871a122e10bc8780493 (patch)
tree9c0aacea524424bd4e37e1dbce2b25419cacfb77 /perl-install/printerdrake.pm
parent455c17603f964b81334740b551252d96a997941d (diff)
downloaddrakx-5dbcbceabc4ac39029b47871a122e10bc8780493.tar
drakx-5dbcbceabc4ac39029b47871a122e10bc8780493.tar.gz
drakx-5dbcbceabc4ac39029b47871a122e10bc8780493.tar.bz2
drakx-5dbcbceabc4ac39029b47871a122e10bc8780493.tar.xz
drakx-5dbcbceabc4ac39029b47871a122e10bc8780493.zip
Button to close Printerdrake shows "Done" during installation and in MCC and "Quit" in standalone mode.
Diffstat (limited to 'perl-install/printerdrake.pm')
-rw-r--r--perl-install/printerdrake.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/printerdrake.pm b/perl-install/printerdrake.pm
index 382191f9a..36b586aad 100644
--- a/perl-install/printerdrake.pm
+++ b/perl-install/printerdrake.pm
@@ -3126,7 +3126,8 @@ sub main {
_("Expert Mode")) } : ()),
{ clicked_may_quit =>
sub { $menuchoice = "\@quit"; 1 },
- val => _("Quit") },
+ val => ($::isEmbedded || $::isInstall ?
+ _("Done") : _("Quit")) },
]
);
# Toggle expert mode and standard mode