[epiphany] ephy-main.c: do not import gecko profile when running a private instance



commit 327228364211c77840cf38d947744c49ee47bdee
Author: Xan Lopez <xan gnome org>
Date:   Mon Aug 24 11:29:19 2009 +0300

    ephy-main.c: do not import gecko profile when running a private instance

 src/ephy-main.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/ephy-main.c b/src/ephy-main.c
index 0df019c..5daca6f 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 ();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]