diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-02-22 18:03:43 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-02-22 18:03:43 +0000 |
commit | 184d43564255d771d45e5efda5605e8669d9303b (patch) | |
tree | c1643df5aedb66fcc4cf379f5130b25f9f1ab370 | |
parent | d10c27caee07720ee0145a0a20da07919448e898 (diff) | |
download | drakx-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)
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | bin/net_monitor | 3 |
2 files changed, 5 insertions, 0 deletions
@@ -1,5 +1,7 @@ - net_monitor: o make expose_event callback more robust (#36537) + o make sure widgets got realized before any event callback is called + (#36537) 0.25: - draksambashare (aginies): 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); |