summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-05-17 11:13:07 +0000
committerOlivier Blin <oblin@mandriva.com>2008-05-17 11:13:07 +0000
commitf3016193e848a8d99a996b667fed4cec36588772 (patch)
tree8e2b415d8f4bd3895db09126c75f5eb8f7b7ceb4 /lib
parentd394bb431d8726cc88e1ebbf8d6534966b85d511 (diff)
downloaddrakx-net-f3016193e848a8d99a996b667fed4cec36588772.tar
drakx-net-f3016193e848a8d99a996b667fed4cec36588772.tar.gz
drakx-net-f3016193e848a8d99a996b667fed4cec36588772.tar.bz2
drakx-net-f3016193e848a8d99a996b667fed4cec36588772.tar.xz
drakx-net-f3016193e848a8d99a996b667fed4cec36588772.zip
do not check and warn thrice about device setup (i.e. kill switch)
Diffstat (limited to 'lib')
-rwxr-xr-xlib/network/drakroam.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/network/drakroam.pm b/lib/network/drakroam.pm
index 945ec0a..f7b9d55 100755
--- a/lib/network/drakroam.pm
+++ b/lib/network/drakroam.pm
@@ -47,6 +47,7 @@ sub select_connection {
sub update_on_connection_change {
my ($droam) = @_;
+ return if !$droam->check_setup;
$droam->{gui}{buttons}{refresh}->set_sensitive(to_bool($droam->{connection}))
if $droam->{gui}{buttons}{refresh};
$droam->update_networks;