diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-02-26 17:38:13 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-02-26 17:38:13 +0000 |
commit | 28b910c1ae330cce561f120fdcb714fee46a0afe (patch) | |
tree | 7a850bc93978bc3a2db040301350b36aec455695 /lib | |
parent | 63f09fd1f7ece771e7f337ce83ddc57eda7d5541 (diff) | |
download | drakx-net-28b910c1ae330cce561f120fdcb714fee46a0afe.tar drakx-net-28b910c1ae330cce561f120fdcb714fee46a0afe.tar.gz drakx-net-28b910c1ae330cce561f120fdcb714fee46a0afe.tar.bz2 drakx-net-28b910c1ae330cce561f120fdcb714fee46a0afe.tar.xz drakx-net-28b910c1ae330cce561f120fdcb714fee46a0afe.zip |
setup connection if needed when updating networks list
Diffstat (limited to 'lib')
-rw-r--r-- | lib/network/connection_manager.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm index d74b92f..55de3c6 100644 --- a/lib/network/connection_manager.pm +++ b/lib/network/connection_manager.pm @@ -265,6 +265,9 @@ sub filter_networks { sub update_networks { my ($cmanager) = @_; + + check_setup($cmanager) || setup_connection($cmanager) or return; + @{$cmanager->{gui}{networks_list}{data}} = (); if ($cmanager->{connection}) { |