[gnome-maps/wip/jonasdn/storedRoute: 10/13] placeListRow: Add favorite route icon



commit a9e76312af11c35b0a9ea5021c7fb23047987671
Author: Jonas Danielsson <jonas threetimestwo org>
Date:   Thu Feb 12 20:42:57 2015 +0100

    placeListRow: Add favorite route icon
    
    https://bugzilla.gnome.org/show_bug.cgi?id=744425

 src/placeListRow.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/placeListRow.js b/src/placeListRow.js
index f227b77..c1c03e0 100644
--- a/src/placeListRow.js
+++ b/src/placeListRow.js
@@ -67,6 +67,8 @@ const PlaceListRow = new Lang.Class({
             this._typeIcon.icon_name = 'emblem-favorite-symbolic';
         else if (type === PlaceStore.PlaceType.CONTACT)
             this._typeIcon.icon_name = 'avatar-default-symbolic';
+        else if (type === PlaceStore.PlaceType.FAVORITE_ROUTE)
+            this._typeIcon.icon_name = 'emblem-favorite-symbolic';
 
     },
 


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