[gnome-maps/wip/mlundblad/drop-checkin-support: 1/2] placeButtons: Don't show check-in button
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/mlundblad/drop-checkin-support: 1/2] placeButtons: Don't show check-in button
- Date: Tue, 5 Apr 2022 21:14:36 +0000 (UTC)
commit 8b0869bbaf074f33659636f344dc85bd2b21163f
Author: Marcus Lundblad <ml dfupdate se>
Date: Tue Apr 5 23:12:07 2022 +0200
placeButtons: Don't show check-in button
Stop setting the "showCheckIn" parameter
when showing the sendTo dialog.
src/placeButtons.js | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/src/placeButtons.js b/src/placeButtons.js
index e8147bd4..acbeeb2a 100644
--- a/src/placeButtons.js
+++ b/src/placeButtons.js
@@ -80,8 +80,6 @@ var PlaceButtons = GObject.registerClass({
this._place.osm_id);
this._routeButton.visible = !this._place.isCurrentLocation;
-
- this._showCheckIn = !!this._place.isCurrentLocation;
}
initSendToButton(button) {
@@ -89,8 +87,7 @@ var PlaceButtons = GObject.registerClass({
let dialog = new SendToDialog.SendToDialog({ transient_for: this.get_toplevel(),
modal: true,
mapView: this._mapView,
- place: this._place,
- showCheckIn: this._showCheckIn });
+ place: this._place });
dialog.connect('response', () => dialog.destroy());
dialog.show();
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]