aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--src/ephy-net-monitor.c4
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c841e69fe..9ade14b3a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 */