aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-08-24 16:29:19 +0800
committerXan Lopez <xan@gnome.org>2009-08-24 23:55:44 +0800
commit327228364211c77840cf38d947744c49ee47bdee (patch)
tree3ffa249bf9163435f438c1750a1c300324b8d5f6 /src
parent330e97963492561a2bc81f651ef72e97cf26e374 (diff)
downloadgsoc2013-epiphany-327228364211c77840cf38d947744c49ee47bdee.tar
gsoc2013-epiphany-327228364211c77840cf38d947744c49ee47bdee.tar.gz
gsoc2013-epiphany-327228364211c77840cf38d947744c49ee47bdee.tar.bz2
gsoc2013-epiphany-327228364211c77840cf38d947744c49ee47bdee.tar.lz
gsoc2013-epiphany-327228364211c77840cf38d947744c49ee47bdee.tar.xz
gsoc2013-epiphany-327228364211c77840cf38d947744c49ee47bdee.tar.zst
gsoc2013-epiphany-327228364211c77840cf38d947744c49ee47bdee.zip
ephy-main.c: do not import gecko profile when running a private instance
Diffstat (limited to 'src')
-rw-r--r--src/ephy-main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ephy-main.c b/src/ephy-main.c
index 0df019c11..5daca6fc6 100644
--- a/src/ephy-main.c
+++ b/src/ephy-main.c
@@ -750,8 +750,9 @@ main (int argc,
exit (1);
}
- /* Migrate profile */
- _ephy_profile_migrate ();
+ /* Migrate profile if we are not running a private instance */
+ if (ephy_has_private_profile () == FALSE)
+ _ephy_profile_migrate ();
eel_gconf_monitor_add ("/apps/epiphany/general");
ephy_stock_icons_init ();