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-shell.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-shell.c')
-rw-r--r-- | src/ephy-shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c index 5d7f47cda..f08097422 100644 --- a/src/ephy-shell.c +++ b/src/ephy-shell.c @@ -660,7 +660,7 @@ ephy_shell_init (EphyShell *shell) /* Initialize the favicon cache as early as possible, or further calls to webkit_web_context_get_favicon_database will fail. */ mode = ephy_embed_shell_get_mode (ephy_embed_shell_get_default ()); - favicon_db_path = g_build_filename (mode == EPHY_EMBED_SHELL_MODE_PRIVATE ? + favicon_db_path = g_build_filename (EPHY_EMBED_SHELL_MODE_HAS_PRIVATE_PROFILE (mode) ? ephy_dot_dir () : g_get_user_cache_dir (), g_get_prgname (), "icondatabase", NULL); |