summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-02-25 16:06:46 +0000
committerOlivier Blin <oblin@mandriva.com>2009-02-25 16:06:46 +0000
commitf59290498c397f61a248584ff11fa11cc721d1d1 (patch)
treef851fadb7598e7ee73cf81cc47b95bb403268c14
parent69744b70d10e72fc8418570c76ded90dcf3ee3cd (diff)
downloaddrakx-net-f59290498c397f61a248584ff11fa11cc721d1d1.tar
drakx-net-f59290498c397f61a248584ff11fa11cc721d1d1.tar.gz
drakx-net-f59290498c397f61a248584ff11fa11cc721d1d1.tar.bz2
drakx-net-f59290498c397f61a248584ff11fa11cc721d1d1.tar.xz
drakx-net-f59290498c397f61a248584ff11fa11cc721d1d1.zip
actually keep _ name, it should be private
-rw-r--r--lib/network/connection_manager.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm
index eaa1854..1b69fa8 100644
--- a/lib/network/connection_manager.pm
+++ b/lib/network/connection_manager.pm
@@ -426,7 +426,7 @@ sub update_on_status_change {
}
}
-sub get_network_event_message {
+sub _get_network_event_message {
my ($connections, $member, @args) = @_;
#- FIXME: the hostname.d script and s2u use a different D-Bus interface
if ($member eq 'hostname') {
@@ -446,7 +446,7 @@ 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;
+ my $message = _get_network_event_message($droam, $member, $msg->get_args_list) or return;
$droam->{on_network_event}($message) if $droam->{on_network_event};
$droam->update_networks if $member eq 'status';
});