[gnome-maps/gnome-3-14] Route: fix wrong icon name



commit a00b541342743a866de362c91b0673adc4d367b6
Author: Mattias Bengtsson <mattias jc bengtsson gmail com>
Date:   Mon Oct 13 16:18:17 2014 +0200

    Route: fix wrong icon name
    
    Accidentally slipped in a reference to a non existant icon in the
    patches pushed this morning. This made Maps crash when searching for a
    route with more than two destinations. Fixed.

 src/route.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/route.js b/src/route.js
index 7738631..e1cdb74 100644
--- a/src/route.js
+++ b/src/route.js
@@ -108,7 +108,7 @@ const TurnPoint = new Lang.Class({
         case TurnPointType.RIGHT:        return 'maps-direction-right-symbolic';
         case TurnPointType.SHARP_RIGHT:  return 'maps-direction-sharpright-symbolic';
         case TurnPointType.START:        return 'maps-point-start-symbolic';
-        case TurnPointType.VIA:          return 'maps-point-via-symbolic';
+        case TurnPointType.VIA:          return 'maps-point-end-symbolic';
         case TurnPointType.END:          return 'maps-point-end-symbolic';
         default:                         return '';
         }


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