aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
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 /libempathy-gtk
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 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-account-widget-irc.c2
-rw-r--r--libempathy-gtk/empathy-geometry.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-account-widget-irc.c b/libempathy-gtk/empathy-account-widget-irc.c
index 688a3e0e6..c0699b23a 100644
--- a/libempathy-gtk/empathy-account-widget-irc.c
+++ b/libempathy-gtk/empathy-account-widget-irc.c
@@ -432,7 +432,7 @@ empathy_account_widget_irc_new (EmpathyAccount *account)
settings = g_slice_new0 (EmpathyAccountWidgetIrc);
settings->account = g_object_ref (account);
- 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);
user_file_with_path = g_build_filename (dir, IRC_NETWORKS_FILENAME, NULL);
g_free (dir);
diff --git a/libempathy-gtk/empathy-geometry.c b/libempathy-gtk/empathy-geometry.c
index 2bfa14e33..14e794c44 100644
--- a/libempathy-gtk/empathy-geometry.c
+++ b/libempathy-gtk/empathy-geometry.c
@@ -49,7 +49,7 @@ geometry_get_filename (void)
gchar *dir;
gchar *filename;
- dir = g_build_filename (g_get_home_dir (), ".gnome2", PACKAGE_NAME, NULL);
+ dir = g_build_filename (g_get_user_config_dir (), PACKAGE_NAME, NULL);
if (!g_file_test (dir, G_FILE_TEST_EXISTS | G_FILE_TEST_IS_DIR)) {
DEBUG ("Creating directory:'%s'", dir);
g_mkdir_with_parents (dir, GEOMETRY_DIR_CREATE_MODE);