From: Kaj-Michael Lang Date: Fri, 27 Jul 2007 10:11:58 +0000 (+0300) Subject: Save/Load osm filter X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79c473793c9bc25ff8d8d90c3d250edf546f5764;p=mapper Save/Load osm filter --- diff --git a/src/config.c b/src/config.c index 0494636..bc183ca 100644 --- a/src/config.c +++ b/src/config.c @@ -346,6 +346,7 @@ config_save() gconf_client_set_float(gconf_client, GCONF_KEY_GPS_FILTER_HDOP, _filter_hdop, NULL); gconf_client_set_float(gconf_client, GCONF_KEY_GPS_FILTER_VDOP, _filter_vdop, NULL); 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); /* Save Route Locations. */ gconf_client_set_list(gconf_client, GCONF_KEY_ROUTE_LOCATIONS, GCONF_VALUE_STRING, _loc_list, NULL); @@ -510,6 +511,7 @@ void config_init() _filter_hdop = gconf_client_get_float(gconf_client, GCONF_KEY_GPS_FILTER_HDOP, NULL); _filter_vdop = gconf_client_get_float(gconf_client, GCONF_KEY_GPS_FILTER_VDOP, NULL); _filter_angle = gconf_client_get_float(gconf_client, GCONF_KEY_GPS_FILTER_ANGLE, NULL); + _filter_osm = gconf_client_get_float(gconf_client, GCONF_KEY_GPS_FILTER_OSM, NULL); /* Get Units. Default is UNITS_KM. */ {