[gnome-maps/wip/jonasdn/storedRoute: 9/13] favoritesPopover: Handle favorite routes
- From: Jonas Danielsson <jonasdn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/jonasdn/storedRoute: 9/13] favoritesPopover: Handle favorite routes
- Date: Thu, 12 Feb 2015 20:05:42 +0000 (UTC)
commit 9e94da878265ac4a529162aa8ba3739788c4995d
Author: Jonas Danielsson <jonas threetimestwo org>
Date: Thu Feb 12 20:45:07 2015 +0100
favoritesPopover: Handle favorite routes
https://bugzilla.gnome.org/show_bug.cgi?id=744425
src/favoritesPopover.js | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/favoritesPopover.js b/src/favoritesPopover.js
index 926830f..821d46f 100644
--- a/src/favoritesPopover.js
+++ b/src/favoritesPopover.js
@@ -58,8 +58,9 @@ const FavoritesPopover = new Lang.Class({
this._rows = 0;
- let placeType = PlaceStore.PlaceType.FAVORITE;
- this._model = Application.placeStore.getModelForPlaceType(placeType);
+ let placeTypes = [PlaceStore.PlaceType.FAVORITE,
+ PlaceStore.PlaceType.FAVORITE_ROUTE];
+ this._model = Application.placeStore.getModelForPlaceTypes(placeTypes);
this._model.connect('row-deleted',
this._updateList.bind(this));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]