aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@0d.be>2009-06-17 16:01:52 +0800
committerFrédéric Péters <fpeters@0d.be>2009-07-21 23:36:44 +0800
commite1fa17399fc137a508f195aa6976b5f32189de96 (patch)
treee70585581a0e219d5b6327719ddfe7e5d52aef92 /src
parent6af3cdc16ef3e4a35524b4e076e9c8c99469814c (diff)
downloadgsoc2013-empathy-e1fa17399fc137a508f195aa6976b5f32189de96.tar
gsoc2013-empathy-e1fa17399fc137a508f195aa6976b5f32189de96.tar.gz
gsoc2013-empathy-e1fa17399fc137a508f195aa6976b5f32189de96.tar.bz2
gsoc2013-empathy-e1fa17399fc137a508f195aa6976b5f32189de96.tar.lz
gsoc2013-empathy-e1fa17399fc137a508f195aa6976b5f32189de96.tar.xz
gsoc2013-empathy-e1fa17399fc137a508f195aa6976b5f32189de96.tar.zst
gsoc2013-empathy-e1fa17399fc137a508f195aa6976b5f32189de96.zip
Put configuration data in XDG_CONFIG_DIRS (GNOME bug 494007)
Diffstat (limited to 'src')
-rw-r--r--src/empathy-main-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index 0e71229c5..a600fd429 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -611,7 +611,7 @@ main_window_accels_load (void)
{
gchar *filename;
- filename = g_build_filename (g_get_home_dir (), ".gnome2", PACKAGE_NAME, ACCELS_FILENAME, NULL);
+ filename = g_build_filename (g_get_user_config_dir (), PACKAGE_NAME, ACCELS_FILENAME, NULL);
if (g_file_test (filename, G_FILE_TEST_EXISTS)) {
DEBUG ("Loading from:'%s'", filename);
gtk_accel_map_load (filename);
@@ -626,7 +626,7 @@ main_window_accels_save (void)
gchar *dir;
gchar *file_with_path;
- dir = g_build_filename (g_get_home_dir (), ".gnome2", PACKAGE_NAME, NULL);
+ dir = g_build_filename (g_get_user_config_dir (), PACKAGE_NAME, NULL);
g_mkdir_with_parents (dir, S_IRUSR | S_IWUSR | S_IXUSR);
file_with_path = g_build_filename (dir, ACCELS_FILENAME, NULL);
g_free (dir);