aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-01-26 06:09:08 +0800
committerChristian Persch <chpe@src.gnome.org>2006-01-26 06:09:08 +0800
commit3ad9ef8b91858c04c3e94243ab98c1652556d285 (patch)
tree5b5f16742bdba30969251f2df6a757a88ee2b381
parentdd06e70a33a386b716fedd68393885f45a343b68 (diff)
downloadgsoc2013-epiphany-3ad9ef8b91858c04c3e94243ab98c1652556d285.tar
gsoc2013-epiphany-3ad9ef8b91858c04c3e94243ab98c1652556d285.tar.gz
gsoc2013-epiphany-3ad9ef8b91858c04c3e94243ab98c1652556d285.tar.bz2
gsoc2013-epiphany-3ad9ef8b91858c04c3e94243ab98c1652556d285.tar.lz
gsoc2013-epiphany-3ad9ef8b91858c04c3e94243ab98c1652556d285.tar.xz
gsoc2013-epiphany-3ad9ef8b91858c04c3e94243ab98c1652556d285.tar.zst
gsoc2013-epiphany-3ad9ef8b91858c04c3e94243ab98c1652556d285.zip
Store the detected network status even if we're not active.
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.
-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");