summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/net_applet
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-07-28 06:14:26 +0000
committerOlivier Blin <oblin@mandriva.org>2005-07-28 06:14:26 +0000
commit8aec9c45e0276020b6767739e18ef6cdea92b204 (patch)
tree96c349590dbafd78ea894e1421991c2b6bf2293f /perl-install/standalone/net_applet
parenteaaa34b25786bea4c42430b788e22bc75e463cc3 (diff)
downloaddrakx-8aec9c45e0276020b6767739e18ef6cdea92b204.tar
drakx-8aec9c45e0276020b6767739e18ef6cdea92b204.tar.gz
drakx-8aec9c45e0276020b6767739e18ef6cdea92b204.tar.bz2
drakx-8aec9c45e0276020b6767739e18ef6cdea92b204.tar.xz
drakx-8aec9c45e0276020b6767739e18ef6cdea92b204.zip
simplify error messages
Diffstat (limited to 'perl-install/standalone/net_applet')
-rw-r--r--perl-install/standalone/net_applet5
1 files changed, 1 insertions, 4 deletions
diff --git a/perl-install/standalone/net_applet b/perl-install/standalone/net_applet
index 6a03b85a5..4f90ca3bc 100644
--- a/perl-install/standalone/net_applet
+++ b/perl-install/standalone/net_applet
@@ -159,10 +159,7 @@ sub generate_wireless_menuitem {
$net->{activate} = $net->{menuitem}->signal_connect('activate' => sub {
if (exists $net->{id}) {
eval { $monitor->select_network($net->{id}) };
- if ($@) {
- my $error = $@;
- err_dialog(N("Error"), N("Unable to select wireless network: %s", $error));
- }
+ $@ and err_dialog(N("Active Firewall"), N("Unable to contact daemon"));
} else {
run_drakroam();
}