From 6fdb032635ed31c46b57f0b4dbfd81e371caa52c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 3 Mar 2003 09:33:44 +0000 Subject: do not embedd rxvt (fix #1619) --- control-center | 6 +++--- 1 file 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") ], -- cgit v1.2.1