diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/ephy-net-monitor.c | 4 |
2 files changed, 10 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2006-02-12 Jean-François Rameau <jframeau@cvs.gnome.org> + + * src/ephy-net-monitor.c: (ephy_net_monitor_check_for_active_device): + + Doesn't return the right variable ! + Add a LOG to trace EphyNetworkMonitor's check for active device. + 2006-02-12 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-factory-action.c: diff --git a/src/ephy-net-monitor.c b/src/ephy-net-monitor.c index f9dfe3ed1..df550bb5e 100644 --- a/src/ephy-net-monitor.c +++ b/src/ephy-net-monitor.c @@ -152,6 +152,8 @@ ephy_net_monitor_check_for_active_device (EphyNetMonitor *monitor, DBUS_TYPE_ARRAY, DBUS_TYPE_STRING, &networks, &num_networks, DBUS_TYPE_INVALID)) { + LOG ("EphyNetMonitor found %s active device", active ? "at least 1" : "no"); + dbus_message_unref (reply); /* found one active device */ @@ -177,7 +179,7 @@ ephy_net_monitor_check_for_active_device (EphyNetMonitor *monitor, } } - return active; + return status; } /* This is the heart of Net Monitor monitor */ |