summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-02-22 18:03:43 +0000
committerThierry Vignaud <tv@mandriva.org>2008-02-22 18:03:43 +0000
commit184d43564255d771d45e5efda5605e8669d9303b (patch)
treec1643df5aedb66fcc4cf379f5130b25f9f1ab370 /bin
parentd10c27caee07720ee0145a0a20da07919448e898 (diff)
downloaddrakx-net-184d43564255d771d45e5efda5605e8669d9303b.tar
drakx-net-184d43564255d771d45e5efda5605e8669d9303b.tar.gz
drakx-net-184d43564255d771d45e5efda5605e8669d9303b.tar.bz2
drakx-net-184d43564255d771d45e5efda5605e8669d9303b.tar.xz
drakx-net-184d43564255d771d45e5efda5605e8669d9303b.zip
make sure widgets got realized before any event callback is called (#36537)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/net_monitor3
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);