]> err.no Git - mapper/commitdiff
Ask gconf to sync changes when saving settings.
authorKaj-Michael Lang <milang@tal.org>
Sat, 3 Nov 2007 15:05:13 +0000 (17:05 +0200)
committerKaj-Michael Lang <milang@tal.org>
Sat, 3 Nov 2007 15:05:13 +0000 (17:05 +0200)
src/config-gconf.c

index 239c445966e46d71bbe2e7cb122bcb5325bfaca5..e22cec061650ba2cbdf0f5a57ed232ca4c24d7ff 100644 (file)
@@ -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;