From 06b0d18501c7e25c8d22fa53a9cd5f381334fc44 Mon Sep 17 00:00:00 2001 From: TotalCaesar659 Date: Mon, 28 May 2018 01:11:16 +0300 Subject: Moving configuration files to user's configuration folder Build the configuration file path using g_get_user_config_dir() instead of g_get_home_dir(). --- shell/syncmanager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/syncmanager.c b/shell/syncmanager.c index db94d474..beb6b749 100644 --- a/shell/syncmanager.c +++ b/shell/syncmanager.c @@ -307,7 +307,7 @@ static void _action_call_function_got_response(SoupSession * session, if ((string = _soup_get_xmlrpc_value_string(msg, sna)) && sna->entry->save_to) { DEBUG("received string: %s\n", string); - gchar *filename = g_build_filename(g_get_home_dir(), ".hardinfo", + gchar *filename = g_build_filename(g_get_user_config_dir(), "hardinfo", sna->entry->save_to, NULL); DEBUG("saving to %s", filename); -- cgit v1.2.3