[gnome-maps/wip/mlundblad/drop-checkin-support: 2/11] 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: 2/11] placeButtons: Don't show check-in button
- Date: Wed, 13 Apr 2022 20:14:50 +0000 (UTC)
commit 4cd9bcbcd63f5b62f3a94d2cd13dff795a349b01
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]