aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2012-09-03 22:42:10 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2012-09-04 02:37:15 +0800
commit4757133c25efa9c7fe5c726f1f2d5681f345a5cb (patch)
treeb90875c770801903c65e67aec8d6e81af0f1bbb3 /src
parent95eb18e603accc3dd23c32c9dfbdf79b1723d391 (diff)
downloadgsoc2013-epiphany-4757133c25efa9c7fe5c726f1f2d5681f345a5cb.tar.gz
gsoc2013-epiphany-4757133c25efa9c7fe5c726f1f2d5681f345a5cb.tar.zst
gsoc2013-epiphany-4757133c25efa9c7fe5c726f1f2d5681f345a5cb.zip
ephy-main: run the migration for any instance that is not a temporary private one
https://bugzilla.gnome.org/show_bug.cgi?id=681679
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 4ea621afe..b2fc704be 100644
--- a/src/ephy-main.c
+++ b/src/ephy-main.c
@@ -389,8 +389,9 @@ main (int argc,
/* Work-around Flash Player crash */
g_setenv ("XLIB_SKIP_ARGB_VISUALS", "1", FALSE);
- /* TODO: we want to migrate each WebApp profile too. */
- if (!private_instance && !application_mode) {
+ /* Run the migration in all cases, except when running a private
+ instance without a given profile directory. */
+ if (!(private_instance && profile_directory == FALSE)) {
/* If the migration fails we don't really want to continue. */
if (!ephy_profile_utils_do_migration ((const char *)profile_directory, -1, FALSE)) {
g_print ("Failed to run the migrator process, Web will now abort.");