From 0767b60ee0312230cc0c6a871315518db75a2c7a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 27 Jan 2003 08:21:19 +0000 Subject: fix "BUG with LANGUAGE XX" debug assertion when wizards are not installed --- control-center | 4 ++-- 1 file 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("
" . N("/Options") . N("/Display Logs")); $embedded_check_box = $factory->get_widget("
" . N("/Options") . N("/Embedded Mode")); -$expert_wizard_check_box = $factory->get_widget("
" . N("/Options") . N("/Expert mode in wizards")); +$expert_wizard_check_box = $factory->get_widget("
" . 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 $@; -- cgit v1.2.1