#include "filter-gui.h"
#include "help.h"
#include "map-repo.h"
+#include "config-gconf.h"
static void
path_tree_view_update_store(GtkWidget *tree_view, Path *path)
unit2latlon(unitx, unity, _home.lat, _home.lon);
_home.valid=TRUE;
-config_save_home();
+if (!config_save_position(&_home, GCONF_KEY_POSITION_HOME))
+ popup_error(_window, _("Failed to save home position."));
+
map_render_data();
return TRUE;
}
unity = y2unit(_cmenu_position_y);
unit2latlon(unitx, unity, _dest.lat, _dest.lon);
_dest.valid=TRUE;
-#if 0
-map_update_location_from_center();
-#endif
+if (!config_save_position(&_dest, GCONF_KEY_POSITION_DEST))
+ popup_error(_window, _("Failed to save destination."));
+
return TRUE;
}