diff options
author | Xan Lopez <xlopez@igalia.com> | 2011-06-30 22:31:01 +0800 |
---|---|---|
committer | Xan Lopez <xlopez@igalia.com> | 2011-06-30 22:31:01 +0800 |
commit | f594ec68442049ad9b6ecce598f2623e0ece9049 (patch) | |
tree | 2cd2291857a752d0ce789fff6f2de558bb9b283a /embed/ephy-web-view.c | |
parent | 1b73fcdddb386855fb15cc61cf723f002743e7c0 (diff) | |
download | gsoc2013-epiphany-f594ec68442049ad9b6ecce598f2623e0ece9049.tar.gz 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-web-view.c')
-rw-r--r-- | embed/ephy-web-view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index 719db1024..19ff7d4f7 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -1873,7 +1873,7 @@ load_status_cb (WebKitWebView *web_view, if (ephy_web_view_get_is_blank (view)) g_object_notify (object, "embed-title"); - if (ephy_embed_shell_is_private_instance (embed_shell) == FALSE && + if (ephy_embed_shell_get_mode (embed_shell) != EPHY_EMBED_SHELL_MODE_PRIVATE && g_settings_get_boolean (EPHY_SETTINGS_MAIN, EPHY_PREFS_REMEMBER_PASSWORDS)) _ephy_web_view_hook_into_forms (view); |