[gnome-maps/wip/mlundblad/drop-network-monitor: 1/6] 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: 1/6] mainWindow: Don't determine current location button visibilty on network
- Date: Wed, 9 Mar 2022 21:00:20 +0000 (UTC)
commit 36c139178d25ae6883a32f7b0799e09405795763
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]