[gnome-maps] transitItineraryRow: Actually use compact route labels



commit a121e9202ef70fc0202293d2af5a3e9ae37090af
Author: Marcus Lundblad <ml update uu se>
Date:   Tue Mar 21 21:27:52 2017 +0100

    transitItineraryRow: Actually use compact route labels
    
    Use the compact mode for route labels properly when appropriate.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=780372

 src/transitItineraryRow.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/transitItineraryRow.js b/src/transitItineraryRow.js
index 5c9158b..e9ba11c 100644
--- a/src/transitItineraryRow.js
+++ b/src/transitItineraryRow.js
@@ -82,7 +82,7 @@ const TransitItineraryRow = new Lang.Class({
             grid.attach(new Gtk.Image({ icon_name: leg.iconName, visible: true }),
                         0, 0, 1, 1);
             grid.attach(new TransitRouteLabel.TransitRouteLabel({ leg: leg,
-                                                                  compact: useContractedLabels,
+                                                                  compact: useCompact,
                                                                   visible: true }),
                         1, 0, 1, 1);
 


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