From f594ec68442049ad9b6ecce598f2623e0ece9049 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Thu, 30 Jun 2011 16:31:01 +0200 Subject: Use an enum for the global mode of the application In preparation to add a new mode for WebApps. --- embed/ephy-web-view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'embed/ephy-web-view.c') 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); -- cgit