diff options
author | Marcus Lundblad <ml@dfupdate.se> | 2022-03-08 23:17:14 +0100 |
---|---|---|
committer | Marcus Lundblad <ml@dfupdate.se> | 2022-04-03 22:12:14 +0200 |
commit | a7e160df159d70caa3dee214cab99c7d39a33be2 (patch) | |
tree | 7ff177f6886ba437833fc29f1421b4ff33d29020 /src | |
parent | d7bbc657a4220b9bcfe6f069ea91121e00bf93c7 (diff) | |
download | gnome-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.js | 4 |
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; } |