aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-main.c
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-05-08 02:27:05 +0800
committerXan Lopez <xan@igalia.com>2012-05-08 02:28:04 +0800
commit8c65eb746306499465f23057dbd4dea484c953aa (patch)
tree88753f699405faef7194fd9ab1aa8de9d08cccf7 /src/ephy-main.c
parent60a504dd7ad9f4b621181994c672344fd694fbde (diff)
downloadgsoc2013-epiphany-8c65eb746306499465f23057dbd4dea484c953aa.tar
gsoc2013-epiphany-8c65eb746306499465f23057dbd4dea484c953aa.tar.gz
gsoc2013-epiphany-8c65eb746306499465f23057dbd4dea484c953aa.tar.bz2
gsoc2013-epiphany-8c65eb746306499465f23057dbd4dea484c953aa.tar.lz
gsoc2013-epiphany-8c65eb746306499465f23057dbd4dea484c953aa.tar.xz
gsoc2013-epiphany-8c65eb746306499465f23057dbd4dea484c953aa.tar.zst
gsoc2013-epiphany-8c65eb746306499465f23057dbd4dea484c953aa.zip
ephy-profile-utils: split profile migration from EphyShell
Call it directly from main, since we want it to happen before the file helpers initialization.
Diffstat (limited to 'src/ephy-main.c')
-rw-r--r--src/ephy-main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ephy-main.c b/src/ephy-main.c
index 5b3dad0dd..a9b71dd89 100644
--- a/src/ephy-main.c
+++ b/src/ephy-main.c
@@ -387,6 +387,10 @@ 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)
+ ephy_profile_utils_do_migration ();
+
/* Start our services */
if (!ephy_file_helpers_init (profile_directory,
private_instance || application_mode,