[gnome-maps/wip/mlundblad/drop-network-monitor: 3/9] mainWindow: Remove network check for the sidebar




commit dc021b55f671bcb7870d89f5ffb51c6a45b310e2
Author: Marcus Lundblad <ml dfupdate se>
Date:   Tue Mar 8 23:17:14 2022 +0100

    mainWindow: Remove network check for the sidebar
    
    Stop connecting the visibility of the sidebar
    to connection status.

 src/mainWindow.js | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index b31e80ee..c64f1723 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -161,9 +161,7 @@ var MainWindow = GObject.registerClass({
         let sidebar = new Sidebar.Sidebar(this._mapView);
 
         Application.routeQuery.connect('notify', () => this._setRevealSidebar(true));
-        this.application.bind_property('connected',
-                                       sidebar, 'visible',
-                                       GObject.BindingFlags.DEFAULT);
+
         return sidebar;
     }
 


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