summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-10-05 21:04:13 +0200
committerinfirit <[email protected]>2014-10-05 21:04:13 +0200
commit29f52914fc496786db6bd1227232e861c8b2b1b0 (patch)
tree344820cff30e6f066468571aa77e0c0d85e27336 /libcaja-private
parentb0207b8d83807564e35142c0f8ab04e5fdb9715d (diff)
downloadcaja-29f52914fc496786db6bd1227232e861c8b2b1b0.tar.bz2
caja-29f52914fc496786db6bd1227232e861c8b2b1b0.tar.xz
Use g_get_user_config_dir instead of harcoding to $HOME/.config
Diffstat (limited to 'libcaja-private')
-rw-r--r--libcaja-private/caja-file-utilities.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcaja-private/caja-file-utilities.c b/libcaja-private/caja-file-utilities.c
index 97f962ee..cc08be57 100644
--- a/libcaja-private/caja-file-utilities.c
+++ b/libcaja-private/caja-file-utilities.c
@@ -106,7 +106,7 @@ char* caja_get_user_directory(void)
* Si alguien tiene tiempo, puede enviar este codigo a Nautilus.
* Obviamente, con los comentarios traducidos al Inglés.
*/
- char* user_directory = g_build_filename(g_get_home_dir(), ".config", "caja", NULL);
+ char* user_directory = g_build_filename(g_get_user_config_dir(), "caja", NULL);
/* Se necesita que esta dirección sea una carpeta, con los permisos
* DEFAULT_CAJA_DIRECTORY_MODE. Pero si es un archivo, el programa intentará
* eliminar el archivo silenciosamente. */