summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/eom-application.c8
-rw-r--r--src/eom-util.c4
2 files changed, 6 insertions, 6 deletions
diff --git a/src/eom-application.c b/src/eom-application.c
index afa1683..fde4dbc 100644
--- a/src/eom-application.c
+++ b/src/eom-application.c
@@ -544,9 +544,9 @@ static void
eom_application_load_accelerators (void)
{
#if GLIB_CHECK_VERSION(2, 6, 0)
- gchar* accelfile = g_build_filename(g_get_user_config_dir(), ".mate", "accels", "eom", NULL);
+ gchar* accelfile = g_build_filename(g_get_user_config_dir(), "mate", "accels", "eom", NULL);
#else // glib version < 2.6.0
- gchar* accelfile = g_build_filename(g_get_home_dir(), ".config", ".mate", "accels", "eom", NULL);
+ gchar* accelfile = g_build_filename(g_get_home_dir(), ".config", "mate", "accels", "eom", NULL);
#endif
/* gtk_accel_map_load does nothing if the file does not exist */
@@ -558,9 +558,9 @@ static void
eom_application_save_accelerators (void)
{
#if GLIB_CHECK_VERSION(2, 6, 0)
- gchar* accelfile = g_build_filename(g_get_user_config_dir(), ".mate", "accels", "eom", NULL);
+ gchar* accelfile = g_build_filename(g_get_user_config_dir(), "mate", "accels", "eom", NULL);
#else // glib version < 2.6.0
- gchar* accelfile = g_build_filename(g_get_home_dir(), ".config", ".mate", "accels", "eom", NULL);
+ gchar* accelfile = g_build_filename(g_get_home_dir(), ".config", "mate", "accels", "eom", NULL);
#endif
gtk_accel_map_save (accelfile);
diff --git a/src/eom-util.c b/src/eom-util.c
index 08cb573..0242bce 100644
--- a/src/eom-util.c
+++ b/src/eom-util.c
@@ -255,9 +255,9 @@ eom_util_dot_dir (void)
gboolean exists;
#if GLIB_CHECK_VERSION(2, 6, 0)
- dot_dir = g_build_filename(g_get_user_config_dir(), ".mate", "eom", NULL);
+ dot_dir = g_build_filename(g_get_user_config_dir(), "mate", "eom", NULL);
#else // glib version < 2.6.0
- dot_dir = g_build_filename(g_get_home_dir(), ".config", ".mate", "eom", NULL);
+ dot_dir = g_build_filename(g_get_home_dir(), ".config", "mate", "eom", NULL);
#endif
exists = ensure_dir_exists (dot_dir);