aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-02-28 21:41:13 +0000
committerThierry Vignaud <tv@mandriva.org>2007-02-28 21:41:13 +0000
commit68cc21d4035b5b82416e435fc16fc67e1800d152 (patch)
tree61373772ea9ba73843ef3e6c78ee5b3a1ad4a0e9 /rpmdrake.pm
parenta78e1fd9867f329682d67223c403f1f584bc180d (diff)
downloadrpmdrake-68cc21d4035b5b82416e435fc16fc67e1800d152.tar
rpmdrake-68cc21d4035b5b82416e435fc16fc67e1800d152.tar.gz
rpmdrake-68cc21d4035b5b82416e435fc16fc67e1800d152.tar.bz2
rpmdrake-68cc21d4035b5b82416e435fc16fc67e1800d152.tar.xz
rpmdrake-68cc21d4035b5b82416e435fc16fc67e1800d152.zip
fix setting gettext domains before mygtk2 initilizes
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index d8154c15..0c8864e4 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -85,7 +85,9 @@ our @EXPORT = qw(
strip_first_underscore
);
our $typical_width = 280;
-unshift @::textdomains, qw(rpmdrake urpmi rpm-summary-main rpm-summary-contrib rpm-summary-devel);
+
+# i18n: IMPORTANT: to get correct namespace (rpmdrake instead of libDrakX)
+BEGIN { unshift @::textdomains, qw(rpmdrake urpmi rpm-summary-main rpm-summary-contrib rpm-summary-devel) };
use ugtk2 qw(:all);
ugtk2::add_icon_path('/usr/share/rpmdrake/icons');