summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcus Lundblad <ml@dfupdate.se>2022-03-08 23:17:14 +0100
committerMarcus Lundblad <ml@dfupdate.se>2022-04-03 22:12:14 +0200
commita7e160df159d70caa3dee214cab99c7d39a33be2 (patch)
tree7ff177f6886ba437833fc29f1421b4ff33d29020 /src
parentd7bbc657a4220b9bcfe6f069ea91121e00bf93c7 (diff)
downloadgnome-maps-a7e160df159d70caa3dee214cab99c7d39a33be2.tar.gz
mainWindow: Remove network check for the sidebar
Stop connecting the visibility of the sidebar to connection status.
Diffstat (limited to 'src')
-rw-r--r--src/mainWindow.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mainWindow.js b/src/mainWindow.js
index 2ef3626b..ddea4d72 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;
}