diff options
author | Alexander Larsson <alexl@redhat.com> | 2016-05-09 12:21:28 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2016-05-09 12:21:28 +0200 |
commit | 5e9b247d260ff4e2b9a9620053e61e8a0161cdee (patch) | |
tree | 11a05b05d1c7d6d2db8f58519630e3de8e22b6fc /document-portal | |
parent | 8abbc0186efe977cec2a3214e7aa3703e9f1169f (diff) | |
download | xdg-app-5e9b247d260ff4e2b9a9620053e61e8a0161cdee.tar.gz |
Migrate ~/.local/share/xdg-app to ~/.local/share/flatpak
Diffstat (limited to 'document-portal')
-rw-r--r-- | document-portal/xdp-main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/document-portal/xdp-main.c b/document-portal/xdp-main.c index 28e3509..a8a61f4 100644 --- a/document-portal/xdp-main.c +++ b/document-portal/xdp-main.c @@ -773,6 +773,8 @@ main (int argc, /* Avoid even loading gvfs to avoid accidental confusion */ g_setenv ("GIO_USE_VFS", "local", TRUE); + flatpak_migrate_from_xdg_app (); + context = g_option_context_new ("- document portal"); g_option_context_add_main_entries (context, entries, NULL); if (!g_option_context_parse (context, &argc, &argv, &error)) @@ -806,7 +808,7 @@ main (int argc, loop = g_main_loop_new (NULL, FALSE); - path = g_build_filename (g_get_user_data_dir (), "xdg-app/db", TABLE_NAME, NULL); + path = g_build_filename (g_get_user_data_dir (), "flatpak/db", TABLE_NAME, NULL); db = flatpak_db_new (path, FALSE, &error); if (db == NULL) { |