[gnome-maps/wip/mlundblad/drop-network-monitor: 7/11] mainWindow: Don't disable location entry based on network availability




commit f76bd975c108997609ac5c9f753db9d7fb796a56
Author: Marcus Lundblad <ml dfupdate se>
Date:   Tue Mar 8 23:23:09 2022 +0100

    mainWindow: Don't disable location entry based on network availability
    
    Don't disable the location entry (and update the current location
    button state) based on network availabilty.

 src/mainWindow.js | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index 05168d4c..1811de04 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -364,12 +364,6 @@ var MainWindow = GObject.registerClass({
 
         Application.geoclue.connect('notify::state',
                                     this._updateLocationSensitivity.bind(this));
-        this.application.connect('notify::connected', () => {
-            let app = this.application;
-
-            this._updateLocationSensitivity();
-            this._placeEntry.sensitive = app.connected;
-        });
 
         // action bar, for when the window is too narrow for the full headerbar
         this._actionBarLeft =  new HeaderBar.HeaderBarLeft({


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]