[gnome-maps/wip/mlundblad/transit-routing] fixup! Add a list box row to show the arrival of a transit itinerary
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/mlundblad/transit-routing] fixup! Add a list box row to show the arrival of a transit itinerary
- Date: Tue, 29 Nov 2016 22:04:17 +0000 (UTC)
commit 3623d6617472ac982198e8462479b184cd887bf1
Author: Marcus Lundblad <ml update uu se>
Date: Tue Nov 29 22:10:22 2016 +0100
fixup! Add a list box row to show the arrival of a transit itinerary
src/transitArrivalRow.js | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/transitArrivalRow.js b/src/transitArrivalRow.js
index 429c5f8..128f73c 100644
--- a/src/transitArrivalRow.js
+++ b/src/transitArrivalRow.js
@@ -62,6 +62,10 @@ const TransitArrivalRow = new Lang.Class({
this._timeLabel.label = lastLeg.prettyPrintArrivalTime();
this._separator.visible = !this._print;
+ /* allow more space for the label in printing mode */
+ if (this._print)
+ this._arrivalLabel.max_width_chars = -1;
+
this._eventBox.connect('event', (function(widget, event) {
this._onEvent(event, lastLeg.toCoordinate);
return true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]