[totem] gromit: Load configuration from ~/.config/gromit
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [totem] gromit: Load configuration from ~/.config/gromit
- Date: Fri, 13 Jul 2012 20:12:18 +0000 (UTC)
commit 5371fcb79e487beb8d1f3a6b89098cafe74ae4cf
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Jun 28 14:34:46 2012 +0100
    gromit: Load configuration from ~/.config/gromit
    
    Instead of a file within the home directory.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=675406
 src/plugins/gromit/totem-gromit.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gromit/totem-gromit.c b/src/plugins/gromit/totem-gromit.c
index 9f5314a..37b1c2c 100644
--- a/src/plugins/gromit/totem-gromit.c
+++ b/src/plugins/gromit/totem-gromit.c
@@ -94,7 +94,7 @@ totem_gromit_ensure_config_file (void)
 	char *path;
 	GError *error = NULL;
 
-	path = g_build_filename (g_get_home_dir (), ".gromitrc", NULL);
+	path = g_build_filename (g_get_user_config_dir (), "gromit", "gromitrc", NULL);
 	if (g_file_test (path, G_FILE_TEST_EXISTS) != FALSE) {
 		g_free (path);
 		return;
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]