aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--src/ephy-net-monitor.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 1aadb232c..2fc32812d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2006-01-25 Christian Persch <chpe@cvs.gnome.org>
+ * src/ephy-net-monitor.c: (ephy_net_monitor_set_net_status),
+ (notify_network_managed_cb):
+
+ Store the detected network status even if we're not active.
+
+2006-01-25 Christian Persch <chpe@cvs.gnome.org>
+
* configure.ac:
* data/epiphany.schemas.in:
* embed/mozilla/Makefile.am:
diff --git a/src/ephy-net-monitor.c b/src/ephy-net-monitor.c
index 0b0dd901c..f9dfe3ed1 100644
--- a/src/ephy-net-monitor.c
+++ b/src/ephy-net-monitor.c
@@ -67,7 +67,7 @@ ephy_net_monitor_set_net_status (EphyNetMonitor *monitor,
LOG ("EphyNetMonitor turning Epiphany to %s mode",
status != NETWORK_DOWN ? "online" : "offline");
- priv->status = priv->active ? status : NETWORK_UP;
+ priv->status = status;
g_object_notify (G_OBJECT (monitor), "network-status");
}
@@ -436,7 +436,7 @@ notify_network_managed_cb (GConfClient *client,
{
EphyNetMonitorPrivate *priv = monitor->priv;
GConfValue *value;
- gboolean active = FALSE;
+ gboolean active = TRUE;
LOG (CONF_NETWORK_MANAGED " key changed");