diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-05-18 20:07:32 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-05-18 20:07:32 +0000 |
commit | 1e9c1ddc391876d068125d51b1c11313662e3fd9 (patch) | |
tree | 9c7d2163338dfbea9581589739d21b3f3af2af15 /lib/network | |
parent | 66b52a67bc86a0de209e9b7f97a28572ba574654 (diff) | |
download | drakx-net-1e9c1ddc391876d068125d51b1c11313662e3fd9.tar drakx-net-1e9c1ddc391876d068125d51b1c11313662e3fd9.tar.gz drakx-net-1e9c1ddc391876d068125d51b1c11313662e3fd9.tar.bz2 drakx-net-1e9c1ddc391876d068125d51b1c11313662e3fd9.tar.xz drakx-net-1e9c1ddc391876d068125d51b1c11313662e3fd9.zip |
probe networks if not already done when expanding connection
Diffstat (limited to 'lib/network')
-rwxr-xr-x | lib/network/netcenter.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm index 148a409..28c54bd 100755 --- a/lib/network/netcenter.pm +++ b/lib/network/netcenter.pm @@ -109,6 +109,9 @@ sub main { $toggle_expand->(); my $expanded = !$expander->get_expanded; $expander->set_expanded($expanded); + gtkflush(); + $cmanager->update_networks if + $cmanager->{connection}->can('get_networks') && !$cmanager->{connection}{probed_networks} && $expanded; }); my $box = gtknew('VBox', spacing => 5, children_tight => [ gtknew('HBox', children => [ |