summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-08-18 17:18:15 +0000
committerOlivier Blin <oblin@mandriva.org>2005-08-18 17:18:15 +0000
commita3143e18f55267d29c45d3c594f7fe7ce168d4d4 (patch)
treef7dc4b5e9eaeab901b9dea43bd7db19138e5a92d /perl-install/standalone
parent684558ee3875d493a35aaa57a0841e04d475ccc2 (diff)
downloaddrakx-a3143e18f55267d29c45d3c594f7fe7ce168d4d4.tar
drakx-a3143e18f55267d29c45d3c594f7fe7ce168d4d4.tar.gz
drakx-a3143e18f55267d29c45d3c594f7fe7ce168d4d4.tar.bz2
drakx-a3143e18f55267d29c45d3c594f7fe7ce168d4d4.tar.xz
drakx-a3143e18f55267d29c45d3c594f7fe7ce168d4d4.zip
switch to Interactive Firewall
Diffstat (limited to 'perl-install/standalone')
-rw-r--r--perl-install/standalone/drakids10
-rw-r--r--perl-install/standalone/net_applet8
2 files changed, 9 insertions, 9 deletions
diff --git a/perl-install/standalone/drakids b/perl-install/standalone/drakids
index 99c679d74..b4870c987 100644
--- a/perl-install/standalone/drakids
+++ b/perl-install/standalone/drakids
@@ -58,7 +58,7 @@ my $ifw = network::ifw->new(dbus_object::system_bus(), sub {
init_lists();
$ugtk2::wm_icon = "/usr/lib/libDrakX/icons/drakfirewall.png";
-my $w = ugtk2->new(N("Active Firewall"));
+my $w = ugtk2->new(N("Interactive Firewall"));
gtkadd($w->{window},
gtknew('Notebook', children => [
gtknew('Label', text => N("Blacklist")),
@@ -142,7 +142,7 @@ sub unblacklist {
if (!$@) {
list_remove_addr($blacklist->{data}, @addr);
} else {
- err_dialog(N("Active Firewall"), N("Unable to contact daemon"));
+ err_dialog(N("Interactive Firewall"), N("Unable to contact daemon"));
}
}
@@ -168,7 +168,7 @@ sub whitelist {
my @addr = @_;
unblacklist(@addr);
eval { $ifw->whitelist($_) foreach @addr };
- $@ and err_dialog(N("Active Firewall"), N("Unable to contact daemon"));
+ $@ and err_dialog(N("Interactive Firewall"), N("Unable to contact daemon"));
}
sub unwhitelist {
@@ -177,7 +177,7 @@ sub unwhitelist {
if (!$@) {
list_remove_addr($whitelist->{data}, @addr);
} else {
- err_dialog(N("Active Firewall"), N("Unable to contact daemon"));
+ err_dialog(N("Interactive Firewall"), N("Unable to contact daemon"));
}
}
@@ -186,7 +186,7 @@ sub init_lists() {
init_blacklist();
init_whitelist();
};
- $@ and err_dialog(N("Active Firewall"), N("Unable to contact daemon"));
+ $@ and err_dialog(N("Interactive Firewall"), N("Unable to contact daemon"));
}
sub clear_lists() {
diff --git a/perl-install/standalone/net_applet b/perl-install/standalone/net_applet
index 89d531f11..791de255a 100644
--- a/perl-install/standalone/net_applet
+++ b/perl-install/standalone/net_applet
@@ -59,7 +59,7 @@ my %actions = (
'upNetwork' => { name => sub { N("Connect %s", $_[0]) }, launch => sub { network::tools::start_interface($_[0], 1) } },
'downNetwork' => { name => sub { N("Disconnect %s", $_[0]) }, launch => sub { network::tools::stop_interface($_[0], 1) } },
'monitorNetwork' => { name => N("Monitor Network"), launch => \&run_net_monitor },
- 'monitorAFW' => { name => N("Active Firewall"), launch => \&run_drakids },
+ 'monitorAFW' => { name => N("Interactive Firewall"), launch => \&run_drakids },
'wireless' => { name => N("Manage wireless networks"), launch => \&run_drakroam },
'confNetwork' => { name => N("Configure Network"), launch => sub { system("/usr/sbin/drakconnect --skip-wizard &") } },
'chooseInterface' => {
@@ -168,7 +168,7 @@ sub generate_wireless_menuitem {
$net->{activate} = $net->{menuitem}->signal_connect('activate' => sub {
if (exists $net->{id}) {
eval { $monitor->select_network($net->{id}) };
- $@ and err_dialog(N("Active Firewall"), N("Unable to contact daemon"));
+ $@ and err_dialog(N("Interactive Firewall"), N("Unable to contact daemon"));
} else {
run_drakroam();
}
@@ -342,7 +342,7 @@ sub set_blacklist_verdict {
defined $verdict or $verdict = 1;
eval { $ifw->blacklist($seq, $verdict) };
- $@ and err_dialog(N("Active Firewall"), N("Unable to contact daemon"));
+ $@ and err_dialog(N("Interactive Firewall"), N("Unable to contact daemon"));
shift @attacks_queue;
#- wait for some time so that the new balloon is noticeable
@@ -362,7 +362,7 @@ sub ask_attack_verdict {
my ($attack) = @_;
my $w = Gtk2::Window->new;
- $w->set_title(N("Active Firewall: intrusion detected"));
+ $w->set_title(N("Interactive Firewall: intrusion detected"));
$w->set_icon(gtknew('Pixbuf', file => "/usr/lib/libDrakX/icons/drakfirewall.png"));
my ($yes, $no, $auto);