[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: Sat, 12 Mar 2022 20:50:42 +0000 (UTC)
commit 423e90d2ffc33dbbdc623b8a9b8e4bc6003bbac5
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 c64f1723..e5ee2817 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]