diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2006-01-26 06:09:08 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2006-01-26 06:09:08 +0800 |
commit | 3ad9ef8b91858c04c3e94243ab98c1652556d285 (patch) | |
tree | 5b5f16742bdba30969251f2df6a757a88ee2b381 /src | |
parent | dd06e70a33a386b716fedd68393885f45a343b68 (diff) | |
download | gsoc2013-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.
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-net-monitor.c | 4 |
1 files changed, 2 insertions, 2 deletions
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"); |