summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-05-02 14:12:14 +0000
committerOlivier Blin <oblin@mandriva.com>2008-05-02 14:12:14 +0000
commitb6736018c66c409a5e8b65ea3639897ceb41fd97 (patch)
treefa67d27d078dd9948bcb4c4a27377a5bf166d5dc
parent87dd888f4eff779313f9347f22308ec12f38ec1c (diff)
downloaddrakx-net-b6736018c66c409a5e8b65ea3639897ceb41fd97.tar
drakx-net-b6736018c66c409a5e8b65ea3639897ceb41fd97.tar.gz
drakx-net-b6736018c66c409a5e8b65ea3639897ceb41fd97.tar.bz2
drakx-net-b6736018c66c409a5e8b65ea3639897ceb41fd97.tar.xz
drakx-net-b6736018c66c409a5e8b65ea3639897ceb41fd97.zip
do not create unused monitor object (but add a FIXME note)
-rwxr-xr-xlib/network/drakroam.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/drakroam.pm b/lib/network/drakroam.pm
index d89a520..945ec0a 100755
--- a/lib/network/drakroam.pm
+++ b/lib/network/drakroam.pm
@@ -89,7 +89,7 @@ sub create_drakroam_gui {
Glib::Timeout->add(20000, sub { $status_bar->remove($status_bar_cid, $m_id); 0 });
};
if ($dbus) {
- eval { $droam->{net}{monitor} = network::monitor->new($dbus) };
+ #- FIXME: use network::monitor?
$dbus->{connection}->add_filter(sub {
my ($_con, $msg) = @_;
my $member = $msg->get_member;