diff options
-rw-r--r-- | widgets/misc/e-contact-map.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/widgets/misc/e-contact-map.c b/widgets/misc/e-contact-map.c index ced6c91376..b2f6ff591e 100644 --- a/widgets/misc/e-contact-map.c +++ b/widgets/misc/e-contact-map.c @@ -75,6 +75,7 @@ contact_map_geocode_address (EContactAddress *address) details = geoclue_address_details_new (); g_hash_table_insert (details, g_strdup (GEOCLUE_ADDRESS_KEY_POSTALCODE), g_strdup (address->code)); g_hash_table_insert (details, g_strdup (GEOCLUE_ADDRESS_KEY_COUNTRY), g_strdup (address->country)); + g_hash_table_insert (details, g_strdup (GEOCLUE_ADDRESS_KEY_REGION), g_strdup (address->region)); g_hash_table_insert (details, g_strdup (GEOCLUE_ADDRESS_KEY_LOCALITY), g_strdup (address->locality)); g_hash_table_insert (details, g_strdup (GEOCLUE_ADDRESS_KEY_STREET), g_strdup (address->street)); @@ -169,8 +170,9 @@ resolve_marker_position (EContactMap *map, * is resolved */ g_object_ref (map); - geocoder = geoclue_geocode_new ("org.freedesktop.Geoclue.Providers.Yahoo", - "/org/freedesktop/Geoclue/Providers/Yahoo"); + geocoder = geoclue_geocode_new ( + "org.freedesktop.Geoclue.Providers.Nominatim", + "/org/freedesktop/Geoclue/Providers/Nominatim"); geoclue_geocode_address_to_position_async (geocoder, details, (GeoclueGeocodeCallback) contact_map_address_resolved_cb, |