aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-single.c
diff options
context:
space:
mode:
authorXan Lopez <xlopez@igalia.com>2011-06-30 22:31:01 +0800
committerXan Lopez <xlopez@igalia.com>2011-06-30 22:31:01 +0800
commitf594ec68442049ad9b6ecce598f2623e0ece9049 (patch)
tree2cd2291857a752d0ce789fff6f2de558bb9b283a /embed/ephy-embed-single.c
parent1b73fcdddb386855fb15cc61cf723f002743e7c0 (diff)
downloadgsoc2013-epiphany-f594ec68442049ad9b6ecce598f2623e0ece9049.tar
gsoc2013-epiphany-f594ec68442049ad9b6ecce598f2623e0ece9049.tar.gz
gsoc2013-epiphany-f594ec68442049ad9b6ecce598f2623e0ece9049.tar.bz2
gsoc2013-epiphany-f594ec68442049ad9b6ecce598f2623e0ece9049.tar.lz
gsoc2013-epiphany-f594ec68442049ad9b6ecce598f2623e0ece9049.tar.xz
gsoc2013-epiphany-f594ec68442049ad9b6ecce598f2623e0ece9049.tar.zst
gsoc2013-epiphany-f594ec68442049ad9b6ecce598f2623e0ece9049.zip
Use an enum for the global mode of the application
In preparation to add a new mode for WebApps.
Diffstat (limited to 'embed/ephy-embed-single.c')
-rw-r--r--embed/ephy-embed-single.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/ephy-embed-single.c b/embed/ephy-embed-single.c
index a41d0b25e..547f49283 100644
--- a/embed/ephy-embed-single.c
+++ b/embed/ephy-embed-single.c
@@ -528,7 +528,7 @@ ephy_embed_single_initialize (EphyEmbedSingle *single)
are not using a private session, otherwise we want any new
password to expire when we exit *and* we don't want to use any
existing password in the keyring */
- if (ephy_embed_shell_is_private_instance (ephy_embed_shell_get_default ()) == FALSE)
+ if (ephy_embed_shell_get_mode (ephy_embed_shell_get_default ()) != EPHY_EMBED_SHELL_MODE_PRIVATE)
soup_session_add_feature_by_type (session, SOUP_TYPE_PASSWORD_MANAGER_GNOME);
#endif