summaryrefslogtreecommitdiffstats
path: root/print_launcher.pl
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-02-20 15:10:19 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-02-20 15:10:19 +0000
commit55ae3d490d62866017c7235b80466594e862d5db (patch)
tree1e30e50c9b690d5234ce91f9b7f275793ab00285 /print_launcher.pl
parent0c21cc7ac7b9edde8bcb6e09d2b62e86a6b156d4 (diff)
downloadcontrol-center-55ae3d490d62866017c7235b80466594e862d5db.tar
control-center-55ae3d490d62866017c7235b80466594e862d5db.tar.gz
control-center-55ae3d490d62866017c7235b80466594e862d5db.tar.bz2
control-center-55ae3d490d62866017c7235b80466594e862d5db.tar.xz
control-center-55ae3d490d62866017c7235b80466594e862d5db.zip
- adapt to new ugtk2 utf8/l10n scheme
- fix #1922
Diffstat (limited to 'print_launcher.pl')
-rwxr-xr-xprint_launcher.pl10
1 files changed, 2 insertions, 8 deletions
diff --git a/print_launcher.pl b/print_launcher.pl
index fca534b0..1f21665e 100755
--- a/print_launcher.pl
+++ b/print_launcher.pl
@@ -3,18 +3,12 @@
use strict;
use lib qw(/usr/lib/libDrakX);
use common;
+# i18n : IMPORTANT to get correct namespace (drakconf instead of libDrakX)
+BEGIN { unshift @::textdomains, 'drakconf' }
use ugtk2 qw(:helpers :wrappers);;
use interactive;
use standalone;
-#-------------------------------------------------------------
-# i18n
-# IMPORTANT: next code is needed to get correct namespace : drakconf instead of libDrakX
-# (This version is now UTF8 compliant - Sg 2001-08-18)
-#-------------------------------------------------------------
-
-unshift @::textdomains, 'drakconf';
-
my $sbindir = "/usr/sbin/";
my $my_win = ugtk2->new('print_launcher');
$my_win->{rwindow}->set_title(N("Printing configuration")) unless $::isEmbedded;