diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/net_monitor | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/net_monitor b/bin/net_monitor index 659df33..bf8f4f0 100755 --- a/bin/net_monitor +++ b/bin/net_monitor @@ -136,6 +136,9 @@ $gca->set_foreground($colora); $statusbar->push(1, N("Wait please, testing your connection...")); $window1->{window}->show_all; +# make sure widgets got realized before any event callback is called (#36537): +gtkflush(); + Glib::Timeout->add(1000, \&rescan); my $time_tag2 = Glib::Timeout->add(1000, \&update); |