[gnome-maps] Place: Fix storing of place_type
- From: Jonas Danielsson <jonasdn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] Place: Fix storing of place_type
- Date: Tue, 9 Feb 2016 13:40:10 +0000 (UTC)
commit e2e3e9c6a18e352ec6b6ad8ad68539ca5a2c9ec0
Author: Jonas Danielsson <jonas threetimestwo org>
Date: Fri Feb 5 07:54:33 2016 +0100
Place: Fix storing of place_type
The icon for a place is constructed in geocode-glib from
the place place_type. It seems we forget to store it in our
place store.
https://bugzilla.gnome.org/show_bug.cgi?id=761533
src/place.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/place.js b/src/place.js
index 86bf13a..1a7f1b7 100644
--- a/src/place.js
+++ b/src/place.js
@@ -181,6 +181,7 @@ const Place = new Lang.Class({
return { id: this.osm_id,
osm_type: this.osm_type,
+ place_type: this.place_type,
name: this.name,
bounding_box: bounding_box,
this_type: this.this_type,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]