[gnome-maps/wip/mlundblad/transit-routing: 6/8] mainWindow: Show the print button when a route is rendered
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/mlundblad/transit-routing: 6/8] mainWindow: Show the print button when a route is rendered
- Date: Sat, 5 Nov 2016 11:29:20 +0000 (UTC)
commit 3504cb41a6493bf62bbbe67b1b5b54a702ead856
Author: Marcus Lundblad <ml update uu se>
Date: Thu Sep 15 21:59:17 2016 +0200
mainWindow: Show the print button when a route is rendered
Only show the print button when a route is rendered on the map.
This way, the print button is hidden until an itinerary is selected
when in transit mode.
src/mainWindow.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index e5127c1..edb9278 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -276,7 +276,7 @@ const MainWindow = new Lang.Class({
this._favoritesButton.sensitive = favoritesPopover.rows > 0;
}).bind(this));
- this._mapView.bind_property('routeVisible', this._printRouteButton,
+ this._mapView.bind_property('routeActive', this._printRouteButton,
'visible', GObject.BindingFlags.DEFAULT);
Application.geoclue.connect('notify::state',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]