summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-11-18 14:42:55 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-11-18 14:42:55 +0000
commitc61950fa53964f7cc724ea363e3199641bcbe1d2 (patch)
tree0e4f91b504fbd8e7a3512679187dd3f1033348a4
parent6d39f9b7002dd0beeecea358bf77054de8f4c987 (diff)
downloadcontrol-center-c61950fa53964f7cc724ea363e3199641bcbe1d2.tar
control-center-c61950fa53964f7cc724ea363e3199641bcbe1d2.tar.gz
control-center-c61950fa53964f7cc724ea363e3199641bcbe1d2.tar.bz2
control-center-c61950fa53964f7cc724ea363e3199641bcbe1d2.tar.xz
control-center-c61950fa53964f7cc724ea363e3199641bcbe1d2.zip
fix fix
-rwxr-xr-xcontrol-center8
1 files changed, 4 insertions, 4 deletions
diff --git a/control-center b/control-center
index 49edb0c8..0f72be1a 100755
--- a/control-center
+++ b/control-center
@@ -425,11 +425,10 @@ my ($notebook_width, $notebook_height) = (540, 420);
$notebook_global->set_usize(40, $index * 50);
$emb_box->set_usize(40, $index * 50);
-unless (defined $log_check_box) {
- print "BUG with LANGUAGE $ENV{LANGUAGE}\n";
+if (defined $log_check_box) {
$log_check_box->set_active($logs);
$embedded_check_box->set_active($embedded);
-}
+} else { print STDERR "BUG with LANGUAGE $ENV{LANGUAGE}\n" }
update_exp();
res_socket();
@@ -816,7 +815,8 @@ sub get_main_menu {
{ path => N("/_Options").N("/Display _Logs"),
callback => sub {
$logs = $log_check_box->active;
- update_exp() ; $show_log = 1 if $logs },
+ update_exp();
+ $show_log = 1 if $logs },
type => '<CheckItem>' },
{ path => N("/_Options").N("/_Embedded Mode"),
callback => sub { $embedded = $embedded_check_box->active },