diff options
author | Xan Lopez <xan@igalia.com> | 2012-05-08 02:27:05 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-05-08 02:28:04 +0800 |
commit | 8c65eb746306499465f23057dbd4dea484c953aa (patch) | |
tree | 88753f699405faef7194fd9ab1aa8de9d08cccf7 /src/ephy-main.c | |
parent | 60a504dd7ad9f4b621181994c672344fd694fbde (diff) | |
download | gsoc2013-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.c | 4 |
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, |