diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-02-25 16:09:37 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-02-25 16:09:37 +0000 |
commit | 5735e5351aac6befc15ada90458e91f1240684b7 (patch) | |
tree | f7c6524925c18699d8a1ce98fe1ba575bb4ef38c /lib | |
parent | cefe3d633b6954d12b113d23facdb70a12066fd1 (diff) | |
download | drakx-net-5735e5351aac6befc15ada90458e91f1240684b7.tar drakx-net-5735e5351aac6befc15ada90458e91f1240684b7.tar.gz drakx-net-5735e5351aac6befc15ada90458e91f1240684b7.tar.bz2 drakx-net-5735e5351aac6befc15ada90458e91f1240684b7.tar.xz drakx-net-5735e5351aac6befc15ada90458e91f1240684b7.zip |
update networks even if there is no status message
Diffstat (limited to 'lib')
-rw-r--r-- | lib/network/connection_manager.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm index d96192f..21019c5 100644 --- a/lib/network/connection_manager.pm +++ b/lib/network/connection_manager.pm @@ -446,8 +446,8 @@ sub setup_dbus_handlers { sub { my ($_con, $msg) = @_; my $member = $msg->get_member; - my $message = _get_network_event_message($droam, $member, $msg->get_args_list) or return; - $on_network_event->($message) if $on_network_event; + my $message = _get_network_event_message($droam, $member, $msg->get_args_list); + $on_network_event->($message) if $on_network_event && $message; $droam->update_networks if $member eq 'status'; }); $dbus->{connection}->add_match("type='signal',interface='com.mandriva.network'"); |