summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-03-03 09:33:44 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-03-03 09:33:44 +0000
commit6fdb032635ed31c46b57f0b4dbfd81e371caa52c (patch)
treea8974163ef191e3a4a43a7071d011b589375381f
parent96e9c238064dd9adcfea175b0dc3495261c6361f (diff)
downloadcontrol-center-6fdb032635ed31c46b57f0b4dbfd81e371caa52c.tar
control-center-6fdb032635ed31c46b57f0b4dbfd81e371caa52c.tar.gz
control-center-6fdb032635ed31c46b57f0b4dbfd81e371caa52c.tar.bz2
control-center-6fdb032635ed31c46b57f0b4dbfd81e371caa52c.tar.xz
control-center-6fdb032635ed31c46b57f0b4dbfd81e371caa52c.zip
do not embedd rxvt (fix #1619)
-rwxr-xr-xcontrol-center6
1 files changed, 3 insertions, 3 deletions
diff --git a/control-center b/control-center
index d28b02ed..030f2a5a 100755
--- a/control-center
+++ b/control-center
@@ -55,7 +55,7 @@ $h{LOGS} ||= bool2text($class{CLASS} eq 'expert' ? 1 : 0);
$h{EXPERT_WIZARD} ||= 0;
my ($embedded, $show_logs, $expert_wizard) = (text2bool($h{EMBEDDED}), text2bool($h{LOGS}), text2bool($h{EXPERT_WIZARD}));
my $theme = $h{THEME};
-if ("@ARGV" =~ /--theme (\w+)/) { $theme = $1 }
+$theme = $1 if "@ARGV" =~ /--theme (\w+)/;
-d "$themes_dir/$theme" or $theme = 'default';
add_icon_path("$themes_dir/$theme/");
add_icon_path("$themes_dir/default") if $theme ne 'default'; # fall back if theme miss some icons
@@ -105,8 +105,8 @@ my $exec_hash =
"Connection Sharing" => [ "drakgw", "$sbindir/drakgw", 1, N("DrakGw helps you share your Internet connection") ],
"Connection" => [ "drakconnect", "$sbindir/drakconnect", 1, N("DrakConnect helps you set up your network and Internet connection") ],
# little workaround to avoid drakconf freeze
-# "Console" => [ "rxvt", "$xbindir/rxvt", -1, "" ],
- "Console" => [ "rxvt", [ "$xbindir/rxvt", "rxvt", 1 ], 0, N("Open a console") ], #The Console will help you to solve issues
+ "Console" => [ "rxvt", "$xbindir/rxvt", -1, N("Open a console") ], #The Console will help you to solve issues
+ # "Console" => [ "rxvt", [ "$xbindir/rxvt", "rxvt", 1 ], 0, N("Open a console") ], #The Console will help you to solve issues
"Date & Time" => [ "clock", "$sbindir/clock.pl", 1, N("Set date and time") ],
"Display Manager chooser" => [ "drakedm", "$sbindir/drakedm", 1, N("Display manager chooser") ],
"Firewall" => [ "drakfirewall", "$sbindir/drakfirewall", 1, N("DrakFirewall helps you set up a personal firewall") ],