aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCarlos Garcia Campos <cgarcia@igalia.com>2013-03-14 16:48:26 +0800
committerCarlos Garcia Campos <carlosgc@gnome.org>2013-03-15 03:48:38 +0800
commit3b5a81725a5fea3f90c028e6d1f831584baaa586 (patch)
treecf919810444fa5161853cc86693d145069ff37a2 /src
parent070338dcd6fc15990326a9e74087a2c0fa1bc1c4 (diff)
downloadgsoc2013-epiphany-3b5a81725a5fea3f90c028e6d1f831584baaa586.tar
gsoc2013-epiphany-3b5a81725a5fea3f90c028e6d1f831584baaa586.tar.gz
gsoc2013-epiphany-3b5a81725a5fea3f90c028e6d1f831584baaa586.tar.bz2
gsoc2013-epiphany-3b5a81725a5fea3f90c028e6d1f831584baaa586.tar.lz
gsoc2013-epiphany-3b5a81725a5fea3f90c028e6d1f831584baaa586.tar.xz
gsoc2013-epiphany-3b5a81725a5fea3f90c028e6d1f831584baaa586.tar.zst
gsoc2013-epiphany-3b5a81725a5fea3f90c028e6d1f831584baaa586.zip
web-extension: Implement pre-filled forms in WebKit2
https://bugzilla.gnome.org/show_bug.cgi?id=684439
Diffstat (limited to 'src')
-rw-r--r--src/ephy-main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ephy-main.c b/src/ephy-main.c
index 83cace3de..a78991790 100644
--- a/src/ephy-main.c
+++ b/src/ephy-main.c
@@ -466,6 +466,8 @@ main (int argc,
pid_str = g_strdup_printf ("%u", getpid ());
g_setenv ("EPHY_WEB_EXTENSION_ID", pid_str, TRUE);
g_setenv ("EPHY_DOT_DIR", ephy_dot_dir (), TRUE);
+ if (private_instance || incognito_mode)
+ g_setenv ("EPHY_PRIVATE_PROFILE", "1", TRUE);
g_free (pid_str);
/* Set the web extensions dir ASAP before the process is launched */