[gnome-maps/wip/mlundblad/drop-network-monitor: 6/11] mainWindow: Don't determine current location button visibilty on network
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/mlundblad/drop-network-monitor: 6/11] mainWindow: Don't determine current location button visibilty on network
- Date: Tue, 22 Mar 2022 22:04:15 +0000 (UTC)
commit 9415671b128841ad3941823a54283092d3d68516
Author: Marcus Lundblad <ml dfupdate se>
Date: Tue Mar 8 23:20:31 2022 +0100
mainWindow: Don't determine current location button visibilty on network
Don't disable the goto current location button based on
network availabilty.
src/mainWindow.js | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index ddea4d72..05168d4c 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -341,9 +341,7 @@ var MainWindow = GObject.registerClass({
}
_updateLocationSensitivity() {
- let sensitive = (Application.geoclue.state !== Geoclue.State.INITIAL &&
- (this.application.connected ||
- this.application.local_tile_path));
+ let sensitive = Application.geoclue.state !== Geoclue.State.INITIAL;
this.lookup_action("goto-user-location").set_enabled(sensitive);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]