summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrol-center8
-rw-r--r--drakconf.spec4
2 files changed, 5 insertions, 7 deletions
diff --git a/control-center b/control-center
index a817049a..ff489251 100755
--- a/control-center
+++ b/control-center
@@ -27,6 +27,9 @@ use lib qw(/usr/lib/libDrakX);
use standalone;
use common;
use detect_devices;
+
+# i18n: IMPORTANT: to get correct namespace (drakconf instead of libDrakX)
+BEGIN { unshift @::textdomains, 'drakconf' }
use ugtk2 qw(:create :helpers :wrappers);
@@ -37,11 +40,6 @@ my ($mcc_dir, $wizdir) = ("/usr/share/mcc", "/usr/share/wizards/");
my $themes_dir = "$mcc_dir/themes/";
-#-------------------------------------------------------------
-# i18n : IMPORTANT to get correct namespace (drakconf instead of libDrakX)
-unshift @::textdomains, 'drakconf';
-prepare_gtk2();
-
my ($version, $conffile, $class_install) = ("9.1", "/etc/mcc.conf", "/etc/sysconfig/system");
require_root_capability(); # just to get root capabilities
diff --git a/drakconf.spec b/drakconf.spec
index d63d8b1e..ffd950e6 100644
--- a/drakconf.spec
+++ b/drakconf.spec
@@ -17,8 +17,8 @@ Url: http://www.mandrakelinux.com/en/cvs.php3
Obsoletes: DrakConf
Provides: DrakConf
BuildRequires: gettext
-Requires: mandrake-release, drakxtools >= 9.1-0.23mdk
-Requires: harddrake-ui >= 9.1-0.23mdk, popt >= 1.6.4-24mdk, usermode
+Requires: mandrake-release, drakxtools >= 9.1-0.35mdk
+Requires: harddrake-ui >= 9.1-0.35mdk, popt >= 1.6.4-24mdk, usermode
Requires: perl-GTK2 >= 0.0.cvs.2003.02.10.1-1mdk, XFree86-100dpi-fonts
Requires: gtk+2.0 >= 2.2.0-3mdk, perl-MDK-Common => 1.0.4-16mdk
Requires: drakcronat >= 0.1.3-1mdk, menudrake >= 0.7.2-1mdk, rxvt, userdrake