summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-01-27 08:21:19 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-01-27 08:21:19 +0000
commit0767b60ee0312230cc0c6a871315518db75a2c7a (patch)
tree88af931fafec9d212762b043cdb8c5936cefb35b
parent53a485c5464ca754343782ddcb0b8adfc5689aa6 (diff)
downloadcontrol-center-0767b60ee0312230cc0c6a871315518db75a2c7a.tar
control-center-0767b60ee0312230cc0c6a871315518db75a2c7a.tar.gz
control-center-0767b60ee0312230cc0c6a871315518db75a2c7a.tar.bz2
control-center-0767b60ee0312230cc0c6a871315518db75a2c7a.tar.xz
control-center-0767b60ee0312230cc0c6a871315518db75a2c7a.zip
fix "BUG with LANGUAGE XX" debug assertion when wizards are not installed
-rwxr-xr-xcontrol-center4
1 files changed, 2 insertions, 2 deletions
diff --git a/control-center b/control-center
index 5e5344c9..61eb2e9a 100755
--- a/control-center
+++ b/control-center
@@ -312,7 +312,7 @@ my ($menu, $factory) = create_factory_menu($window_global,
#-PO Don't remember to translate "Options" the same way "_Options" is (but without the underscore of course)
$show_log_check_box = $factory->get_widget("<main>" . N("/Options") . N("/Display Logs"));
$embedded_check_box = $factory->get_widget("<main>" . N("/Options") . N("/Embedded Mode"));
-$expert_wizard_check_box = $factory->get_widget("<main>" . N("/Options") . N("/Expert mode in wizards"));
+$expert_wizard_check_box = $factory->get_widget("<main>" . N("/Options") . N("/Expert mode in wizards")) if $::isWiz;
gtkadd($window_global,
gtkpack_(Gtk2::VBox->new(0, 3),
@@ -541,7 +541,7 @@ eval {
if (defined $show_log_check_box) {
$show_log_check_box->set_active($show_logs);
$embedded_check_box->set_active($embedded);
- $expert_wizard_check_box->set_active($expert_wizard);
+ $expert_wizard_check_box->set_active($expert_wizard) if $::isWiz;
};
};
print STDERR "BUG with LANGUAGE $ENV{LANGUAGE}\n" if $@;