summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrol-center5
1 files changed, 2 insertions, 3 deletions
diff --git a/control-center b/control-center
index 234f2176..7dc2d4f4 100755
--- a/control-center
+++ b/control-center
@@ -33,8 +33,7 @@ use standalone;
use common;
use interactive;
use detect_devices;
-use my_gtk qw(:helpers :wrappers);
-use ugtk qw(:helpers :wrappers);
+use my_gtk qw(:helpers :wrappers :various);
#use strict;
# set the locale, needed for proper fontset and charset selection
@@ -59,7 +58,7 @@ my ($embedded, $logs) = (text2bool($h{EMBEDDED}), text2bool($h{LOGS}));
my $theme = $h{THEME};
if ("@ARGV" =~ /--theme (\w+)/) { $theme = $1 }
-d "$themes_dir/$theme" or $theme = 'default';
-ugtk::add_icon_path("$themes_dir/$theme");
+add_icon_path("$themes_dir/$theme");
my $window_splash = new Gtk::Window -popup;
$window_splash->signal_connect (delete_event => \&quit_global);
$window_splash->set_title(_("Mandrake Control Center"));