diff options
author | TotalCaesar659 <x24cm5b8c54q6szxw@yandex.ru> | 2018-05-28 01:11:16 +0300 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2018-05-27 15:11:16 -0700 |
commit | 06b0d18501c7e25c8d22fa53a9cd5f381334fc44 (patch) | |
tree | df619dbd02f7ac2c81c4842adbc71663ce0652de /shell/syncmanager.c | |
parent | f7aa47059ad769040f699921a9802bd8dc80f00b (diff) |
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().
Diffstat (limited to 'shell/syncmanager.c')
-rw-r--r-- | shell/syncmanager.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |