summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-04-03 14:59:49 +0000
committerThierry Vignaud <tv@mandriva.org>2009-04-03 14:59:49 +0000
commit5fa31a61c77476bd91c6fd1ee425e762e85b9a6a (patch)
tree7b84e1b5c5f3a88e85543ddc90b4b6db813db1bd /perl-install/mygtk2.pm
parenta2f9b48f0691ba159092ab863fdd53328bfb725e (diff)
downloaddrakx-backup-do-not-use-5fa31a61c77476bd91c6fd1ee425e762e85b9a6a.tar
drakx-backup-do-not-use-5fa31a61c77476bd91c6fd1ee425e762e85b9a6a.tar.gz
drakx-backup-do-not-use-5fa31a61c77476bd91c6fd1ee425e762e85b9a6a.tar.bz2
drakx-backup-do-not-use-5fa31a61c77476bd91c6fd1ee425e762e85b9a6a.tar.xz
drakx-backup-do-not-use-5fa31a61c77476bd91c6fd1ee425e762e85b9a6a.zip
only load draksnapshot translations if actually needing them
Diffstat (limited to 'perl-install/mygtk2.pm')
-rw-r--r--perl-install/mygtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index 1dc77254a..b139eec3c 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -19,7 +19,7 @@ sub init() {
Gtk2->init;
Locale::gettext::bind_textdomain_codeset($_, 'UTF8') foreach 'libDrakX', if_(!$::isInstall, 'libDrakX-standalone'),
- if_($::isInstall, 'draksnapshot', 'urpmi'),
+ if_($::isRestore, 'draksnapshot'), if_($::isInstall'urpmi'),
'drakx-net', 'drakx-kbd-mouse-x11', # shared translation
@::textdomains;
Gtk2->croak_execeptions;