summaryrefslogtreecommitdiffstats
path: root/lib/network
diff options
context:
space:
mode:
Diffstat (limited to 'lib/network')
-rwxr-xr-xlib/network/netcenter.pm3
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 => [