summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrol-center5
1 files changed, 3 insertions, 2 deletions
diff --git a/control-center b/control-center
index b183b0c8..74f5212f 100755
--- a/control-center
+++ b/control-center
@@ -61,7 +61,7 @@ $h{HEIGTH} ||= $default_heigth;
$h{WIDTH} ||= $default_width;
my %option_values;
-@option_values{qw(show_log wiz_expert)} = (text2bool($h{LOGS}), text2bool($h{EXPERT_WIZARD}));
+$option_values{show_log} = text2bool($h{LOGS});
my $theme = $h{THEME};
$theme = $1 if "@ARGV" =~ /--theme (\w+)/;
-d "$themes_dir/$theme" or $theme = 'default';
@@ -299,6 +299,7 @@ my @themes = grep { -d "$themes_dir/$_" } all($themes_dir);
#-PO Translators, please keep all "/" charaters !!!
my %options = (
'show_log' => [ N("/_Options"), N("/Display _Logs") ],
+ 'embedded_mode' => [ N("/_Options"), N("/_Embedded Mode") ],
'wiz_expert' => [ N("/_Options"), N("/Expert mode in _wizards") ],
);
@@ -487,7 +488,7 @@ update_profiles();
%check_boxes = map {
$_ => $factory->get_widget("<main>" . get_path(@{$options{$_}}))
-} ("show_log", if_($::isWiz, "wiz_expert"));
+} ("show_log", if_(0 && $::isWiz, "wiz_expert"));
gtkadd($window_global,