aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-12-12 22:31:08 +0800
committerXan Lopez <xan@igalia.com>2012-12-12 22:31:08 +0800
commit60034d36b29a86a67ef5c38211125264d6d4e9b1 (patch)
tree6f5b77d91a27828777ee169dbdc2092c9eb0710d
parenta73a06802fa50f4eba0ba452304294f39cfb08f4 (diff)
downloadgsoc2013-epiphany-60034d36b29a86a67ef5c38211125264d6d4e9b1.tar
gsoc2013-epiphany-60034d36b29a86a67ef5c38211125264d6d4e9b1.tar.gz
gsoc2013-epiphany-60034d36b29a86a67ef5c38211125264d6d4e9b1.tar.bz2
gsoc2013-epiphany-60034d36b29a86a67ef5c38211125264d6d4e9b1.tar.lz
gsoc2013-epiphany-60034d36b29a86a67ef5c38211125264d6d4e9b1.tar.xz
gsoc2013-epiphany-60034d36b29a86a67ef5c38211125264d6d4e9b1.tar.zst
gsoc2013-epiphany-60034d36b29a86a67ef5c38211125264d6d4e9b1.zip
ephy-main: delete profile on exit in incognito mode
-rw-r--r--src/ephy-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-main.c b/src/ephy-main.c
index 04c82b6aa..611a83360 100644
--- a/src/ephy-main.c
+++ b/src/ephy-main.c
@@ -399,7 +399,7 @@ main (int argc,
flags |= EPHY_FILE_HELPERS_PRIVATE_PROFILE;
if (incognito_mode)
flags |= EPHY_FILE_HELPERS_STEAL_DATA;
- if (keep_temp_directory || profile_directory)
+ if ((keep_temp_directory || profile_directory) && !incognito_mode)
flags |= EPHY_FILE_HELPERS_KEEP_DIR;
if (!ephy_file_helpers_init (profile_directory, flags,