[gnome-maps/wip/mlundblad/drop-network-monitor: 4/9] 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: 4/9] mainWindow: Don't determine current location button visibilty on network
- Date: Thu, 31 Mar 2022 20:49:42 +0000 (UTC)
commit 6cd2250bc260fd191111cc64d01ba0689fbee10b
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]