diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-08-25 12:00:22 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-08-25 12:00:22 +0000 |
commit | fb09295196c51c8a22f0f8f41c1579da6b5c62af (patch) | |
tree | 1b76e5e1b77cb0dbf1dab2d2a99f81e1a435f15e /perl-install/standalone/net_applet | |
parent | 05d6724eb8504ccc86804028cd5b2c67a65499d7 (diff) | |
download | drakx-fb09295196c51c8a22f0f8f41c1579da6b5c62af.tar drakx-fb09295196c51c8a22f0f8f41c1579da6b5c62af.tar.gz drakx-fb09295196c51c8a22f0f8f41c1579da6b5c62af.tar.bz2 drakx-fb09295196c51c8a22f0f8f41c1579da6b5c62af.tar.xz drakx-fb09295196c51c8a22f0f8f41c1579da6b5c62af.zip |
rephrase IFW interactive/automatic checkbox label in the settings menu
Diffstat (limited to 'perl-install/standalone/net_applet')
-rw-r--r-- | perl-install/standalone/net_applet | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/standalone/net_applet b/perl-install/standalone/net_applet index fb48e8617..d8a34cb6f 100644 --- a/perl-install/standalone/net_applet +++ b/perl-install/standalone/net_applet @@ -301,9 +301,9 @@ sub generate_menu { push @settings, $create_item->('chooseProfile'); if (defined $interactive) { - $interactive_cb = gtkshow(gtksignal_connect(gtkset_active(Gtk2::CheckMenuItem->new_with_label(N("Interactive intrusion detection")), - $interactive), - toggled => sub { eval { $ifw->set_interactive(to_bool($_[0]->get_active)) } })); + $interactive_cb = gtkshow(gtksignal_connect(gtkset_active(Gtk2::CheckMenuItem->new_with_label(N("Interactive Firewall automatic mode")), + !$interactive), + toggled => sub { eval { $ifw->set_interactive(to_bool(!$_[0]->get_active)) } })); push @settings, $interactive_cb; } push @settings, gtkshow(gtksignal_connect(gtkset_active(Gtk2::CheckMenuItem->new_with_label(N("Always launch on startup")), getAutoStart()), @@ -399,7 +399,7 @@ sub ask_attack_verdict { icon => "/usr/lib/libDrakX/icons/drakfirewall.png"); my ($blacklist, $whitelist, $ignore, $auto); - my $update_automatic_mode = sub { $auto->get_active and $interactive_cb->set_active(0) }; + my $update_automatic_mode = sub { $auto->get_active and $interactive_cb->set_active(1) }; gtkadd($w->{window}, gtknew('VBox', spacing => 5, children_loose => [ |