diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-02-25 16:08:10 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-02-25 16:08:10 +0000 |
commit | cefe3d633b6954d12b113d23facdb70a12066fd1 (patch) | |
tree | 6166fec64fc5ee16de505adea579e52bf37391dc /lib | |
parent | f59290498c397f61a248584ff11fa11cc721d1d1 (diff) | |
download | drakx-net-cefe3d633b6954d12b113d23facdb70a12066fd1.tar drakx-net-cefe3d633b6954d12b113d23facdb70a12066fd1.tar.gz drakx-net-cefe3d633b6954d12b113d23facdb70a12066fd1.tar.bz2 drakx-net-cefe3d633b6954d12b113d23facdb70a12066fd1.tar.xz drakx-net-cefe3d633b6954d12b113d23facdb70a12066fd1.zip |
fix using on_network_event
Diffstat (limited to 'lib')
-rw-r--r-- | lib/network/connection_manager.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm index 1b69fa8..d96192f 100644 --- a/lib/network/connection_manager.pm +++ b/lib/network/connection_manager.pm @@ -447,7 +447,7 @@ sub setup_dbus_handlers { my ($_con, $msg) = @_; my $member = $msg->get_member; my $message = _get_network_event_message($droam, $member, $msg->get_args_list) or return; - $droam->{on_network_event}($message) if $droam->{on_network_event}; + $on_network_event->($message) if $on_network_event; $droam->update_networks if $member eq 'status'; }); $dbus->{connection}->add_match("type='signal',interface='com.mandriva.network'"); |