aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xlopez@igalia.com>2011-06-24 22:30:32 +0800
committerXan Lopez <xlopez@igalia.com>2011-06-24 22:30:32 +0800
commitfff20a2ee1761c9768bd2fd72f4c998d02d5b6cd (patch)
tree575be27870d5d9946fa8dfa114290793e49d527f /src
parent64ff9f8650277fdf849917a01dde4b18e67b046d (diff)
downloadgsoc2013-epiphany-fff20a2ee1761c9768bd2fd72f4c998d02d5b6cd.tar
gsoc2013-epiphany-fff20a2ee1761c9768bd2fd72f4c998d02d5b6cd.tar.gz
gsoc2013-epiphany-fff20a2ee1761c9768bd2fd72f4c998d02d5b6cd.tar.bz2
gsoc2013-epiphany-fff20a2ee1761c9768bd2fd72f4c998d02d5b6cd.tar.lz
gsoc2013-epiphany-fff20a2ee1761c9768bd2fd72f4c998d02d5b6cd.tar.xz
gsoc2013-epiphany-fff20a2ee1761c9768bd2fd72f4c998d02d5b6cd.tar.zst
gsoc2013-epiphany-fff20a2ee1761c9768bd2fd72f4c998d02d5b6cd.zip
Use NM_STATE_CONNECTED_GLOBAL instead of the compat #define
Diffstat (limited to 'src')
-rw-r--r--src/ephy-shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index 95e0f8635..1de265b6a 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -158,7 +158,7 @@ ephy_shell_sync_network_status (EphyNetworkManager *nm_proxy,
single = EPHY_EMBED_SINGLE (ephy_embed_shell_get_embed_single (EPHY_EMBED_SHELL (shell)));
- net_status = state == NM_STATE_CONNECTED;
+ net_status = state == NM_STATE_CONNECTED_GLOBAL;
ephy_embed_single_set_network_status (single, net_status);
}