From 2670afe21a850b3f814f923c5f3d592aaeebfb1d Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Sat, 3 Nov 2007 17:05:13 +0200 Subject: [PATCH] Ask gconf to sync changes when saving settings. --- src/config-gconf.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/config-gconf.c b/src/config-gconf.c index 239c445..e22cec0 100644 --- a/src/config-gconf.c +++ b/src/config-gconf.c @@ -201,6 +201,7 @@ if (!gconf_client) gconf_client_set_float(gconf_client, GCONF_KEY_HOME_LAT, _home.lat, NULL); gconf_client_set_float(gconf_client, GCONF_KEY_HOME_LON, _home.lon, NULL); +gconf_client_suggest_sync(gconf_client, NULL); return TRUE; } @@ -214,6 +215,7 @@ gconf_client_set_float(gconf_client, GCONF_KEY_GPS_FILTER_VDOP, _filter_vdop, NU gconf_client_set_float(gconf_client, GCONF_KEY_GPS_FILTER_ANGLE, _filter_angle, NULL); gconf_client_set_float(gconf_client, GCONF_KEY_GPS_FILTER_OSM, _filter_osm, NULL); +gconf_client_suggest_sync(gconf_client, NULL); return TRUE; } @@ -364,6 +366,7 @@ config_save_track(config_dir); config_save_route(config_dir); #endif +gconf_client_suggest_sync(gconf_client, NULL); gconf_client_clear_cache(gconf_client); g_free(config_dir); return TRUE; -- 2.39.5