From 180ad78567be78007ac26fe5b73b0a2a28c0eb1f Mon Sep 17 00:00:00 2001 From: Claudio Saavedra Date: Mon, 28 Jan 2013 22:05:00 +0200 Subject: ephy-embed-shell: add EPHY_EMBED_SHELL_MODE_INCOGNITO Since we need to differenciate between incognito and private mode in order to enable restoring closed tabs only for the latter case. Add a macro for the cases in which either mode should behave in the same way to simplify the change. https://bugzilla.gnome.org/show_bug.cgi?id=128184 --- src/ephy-main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/ephy-main.c') diff --git a/src/ephy-main.c b/src/ephy-main.c index 471ccaeb2..3a464e476 100644 --- a/src/ephy-main.c +++ b/src/ephy-main.c @@ -419,8 +419,7 @@ main (int argc, if (private_instance) mode = EPHY_EMBED_SHELL_MODE_PRIVATE; else if (incognito_mode) { - /* Internally incognito mode is also a private mode. */ - mode = EPHY_EMBED_SHELL_MODE_PRIVATE; + mode = EPHY_EMBED_SHELL_MODE_INCOGNITO; /* Use the right theming. */ g_object_set (gtk_settings_get_default (), -- cgit v1.2.3