summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-08 11:33:52 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-08 11:33:52 +0000
commitba7914ed6904f4d4aefdbbf478bff86e7fdde439 (patch)
tree326a908be8908c4a5d3bba55306dd33619138969
parent403aaec8af2fead3931ffbe3fb043b5628fdba28 (diff)
downloadcontrol-center-ba7914ed6904f4d4aefdbbf478bff86e7fdde439.tar
control-center-ba7914ed6904f4d4aefdbbf478bff86e7fdde439.tar.gz
control-center-ba7914ed6904f4d4aefdbbf478bff86e7fdde439.tar.bz2
control-center-ba7914ed6904f4d4aefdbbf478bff86e7fdde439.tar.xz
control-center-ba7914ed6904f4d4aefdbbf478bff86e7fdde439.zip
- kill spurious warning on translating options
- keep no more used options in translations if we ever reverse this change
-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,