[gnome-maps] placeEntry: Only match route if prop is set



commit bf56211181509f4708a70f9cd54205692d643864
Author: Jonas Danielsson <jonas threetimestwo org>
Date:   Fri Aug 21 20:49:07 2015 +0200

    placeEntry: Only match route if prop is set

 src/placeEntry.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/placeEntry.js b/src/placeEntry.js
index 50f8f90..49a8513 100644
--- a/src/placeEntry.js
+++ b/src/placeEntry.js
@@ -170,7 +170,7 @@ const PlaceEntry = new Lang.Class({
         let place = model.get_value(iter, PlaceStore.Columns.PLACE);
         let type = model.get_value(iter, PlaceStore.Columns.TYPE);
 
-        if (!this._matchRoute && type === PlaceStore.PlaceType.FAVORITE_ROUTE)
+        if (!this._matchRoute && type === PlaceStore.PlaceType.RECENT_ROUTE)
             return false;
 
         if (place !== null)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]