diff options
author | Marcus Lundblad <ml@dfupdate.se> | 2022-03-08 23:20:31 +0100 |
---|---|---|
committer | Marcus Lundblad <ml@dfupdate.se> | 2022-04-03 22:12:14 +0200 |
commit | 201dd494356c5cfcf1ca2142968006a46855fa5c (patch) | |
tree | 61ebb4f3e43279597172b35c64d7c26c77f7c663 /src | |
parent | a7e160df159d70caa3dee214cab99c7d39a33be2 (diff) | |
download | gnome-maps-201dd494356c5cfcf1ca2142968006a46855fa5c.tar.gz |
mainWindow: Don't determine current location button visibilty on network
Don't disable the goto current location button based on
network availabilty.
Diffstat (limited to 'src')
-rw-r--r-- | src/mainWindow.js | 4 |
1 files changed, 1 insertions, 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); } |