From 16d0d035fa1cfd8f20f01eb6ba68ca18b6e115fb Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Fri, 19 Oct 2007 00:50:26 +0300 Subject: [PATCH] Set nicer defaults --- src/settings-gconf.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/settings-gconf.h b/src/settings-gconf.h index 10d18fa..a104ea4 100644 --- a/src/settings-gconf.h +++ b/src/settings-gconf.h @@ -4,9 +4,13 @@ #define GCONF_KEY_PREFIX "/apps/maemo/mapper" -#define REPO_DEFAULT_NAME "OpenStreet" +#define REPO_DEFAULT_NAME "OpenStreetMap" +#ifdef WITH_DEVICE_770 #define REPO_DEFAULT_CACHE_BASE "~/MyDocs/.documents/Maps/" -#define REPO_DEFAULT_CACHE_DIR REPO_DEFAULT_CACHE_BASE"OpenStreet" +#else +#define REPO_DEFAULT_CACHE_BASE "~/Maps/" +#endif +#define REPO_DEFAULT_CACHE_DIR REPO_DEFAULT_CACHE_BASE"OpenStreetMap" #define REPO_DEFAULT_MAP_URI "http://tile.openstreetmap.org/%0d/%d/%d.png" #define REPO_DEFAULT_DL_ZOOM_STEPS (1) #define REPO_DEFAULT_VIEW_ZOOM_STEPS (1) @@ -24,6 +28,7 @@ #define GCONF_KEY_GPS_FILTER_ANGLE GCONF_KEY_PREFIX"/gps_filter_angle" #define GCONF_KEY_GPS_FILTER_OSM GCONF_KEY_PREFIX"/gps_filter_osm" +/* Misc */ #define GCONF_KEY_MAP_URI_FORMAT GCONF_KEY_PREFIX"/map_uri_format" #define GCONF_KEY_MAP_ZOOM_STEPS GCONF_KEY_PREFIX"/map_zoom_steps" #define GCONF_KEY_MAP_DIR_NAME GCONF_KEY_PREFIX"/map_cache_dir" -- 2.39.5