diff options
author | Claudio Saavedra <csaavedra@igalia.com> | 2013-01-29 04:05:00 +0800 |
---|---|---|
committer | Claudio Saavedra <csaavedra@igalia.com> | 2013-02-08 05:54:58 +0800 |
commit | 180ad78567be78007ac26fe5b73b0a2a28c0eb1f (patch) | |
tree | 2d0a370577e113ea30c22f29342e1a212cef4a08 /src/ephy-main.c | |
parent | 946292f704d24d3e82761a97bc4666df3458bc5b (diff) | |
download | gsoc2013-epiphany-180ad78567be78007ac26fe5b73b0a2a28c0eb1f.tar gsoc2013-epiphany-180ad78567be78007ac26fe5b73b0a2a28c0eb1f.tar.gz gsoc2013-epiphany-180ad78567be78007ac26fe5b73b0a2a28c0eb1f.tar.bz2 gsoc2013-epiphany-180ad78567be78007ac26fe5b73b0a2a28c0eb1f.tar.lz gsoc2013-epiphany-180ad78567be78007ac26fe5b73b0a2a28c0eb1f.tar.xz gsoc2013-epiphany-180ad78567be78007ac26fe5b73b0a2a28c0eb1f.tar.zst gsoc2013-epiphany-180ad78567be78007ac26fe5b73b0a2a28c0eb1f.zip |
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
Diffstat (limited to 'src/ephy-main.c')
-rw-r--r-- | src/ephy-main.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 (), |