[epiphany/wip/tingping/profile-migration: 1/2] Fix setting cache/config dir for custom (non-webapp) profile dir
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/wip/tingping/profile-migration: 1/2] Fix setting cache/config dir for custom (non-webapp) profile dir
- Date: Wed, 30 Jan 2019 13:46:45 +0000 (UTC)
commit 9d352a899a5cfb58bd1d7c6172c2ed9dfa2132c1
Author: Patrick Griffis <pgriffis igalia com>
Date: Sun Jan 6 13:44:11 2019 -0500
Fix setting cache/config dir for custom (non-webapp) profile dir
lib/ephy-file-helpers.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c
index 4dc88ede9..08328526c 100644
--- a/lib/ephy-file-helpers.c
+++ b/lib/ephy-file-helpers.c
@@ -382,6 +382,9 @@ ephy_file_helpers_init (const char *profile_dir,
cache_dir = g_build_filename (g_get_user_cache_dir (), app_name, NULL);
config_dir = g_build_filename (g_get_user_config_dir (), app_name, NULL);
profile_dir_type = EPHY_PROFILE_DIR_WEB_APP;
+ } else {
+ cache_dir = g_build_filename (profile_dir_global, "cache", NULL);
+ config_dir = g_build_filename (profile_dir_global, "config", NULL);
}
} else if (private_profile) {
if (ephy_file_tmp_dir () == NULL) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]