summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/printerdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-01-21 10:30:55 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-01-21 10:30:55 +0000
commit56909f3bf02cbc729c2945e1ca1808927105638c (patch)
treefea7e688404f683dcce252efbe83343a2a2f55eb /perl-install/standalone/printerdrake
parent135fd6268dc8cb89dbf06e6ddf24e4494c077c78 (diff)
downloaddrakx-56909f3bf02cbc729c2945e1ca1808927105638c.tar
drakx-56909f3bf02cbc729c2945e1ca1808927105638c.tar.gz
drakx-56909f3bf02cbc729c2945e1ca1808927105638c.tar.bz2
drakx-56909f3bf02cbc729c2945e1ca1808927105638c.tar.xz
drakx-56909f3bf02cbc729c2945e1ca1808927105638c.zip
fix banner's title by initializing mcc domain before ugtk2
Diffstat (limited to 'perl-install/standalone/printerdrake')
-rwxr-xr-xperl-install/standalone/printerdrake7
1 files changed, 4 insertions, 3 deletions
diff --git a/perl-install/standalone/printerdrake b/perl-install/standalone/printerdrake
index ff57a6282..e153c5a70 100755
--- a/perl-install/standalone/printerdrake
+++ b/perl-install/standalone/printerdrake
@@ -20,6 +20,10 @@
#
use strict;
+
+# i18n: IMPORTANT: to get correct namespace (userdrake instead of libDrakX)
+BEGIN { unshift @::textdomains, 'drakconf' }
+
use lib qw(/usr/lib/libDrakX);
use standalone;
@@ -51,9 +55,6 @@ my $printer;
$ugtk2::wm_icon = "printerdrake";
my $in = 'interactive'->vnew('su', if_(!$::isEmbedded, 'printer-mdk'));
-# i18n: IMPORTANT: to get correct namespace (userdrake instead of libDrakX)
-BEGIN { unshift @::textdomains, 'drakconf' }
-
my $commandline = $_;
# Data structure for GTK2 main window