[gnome-maps/wip/mlundblad/drop-network-monitor: 5/11] mainWindow: Remove network check for the sidebar
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/mlundblad/drop-network-monitor: 5/11] mainWindow: Remove network check for the sidebar
- Date: Tue, 22 Mar 2022 22:04:15 +0000 (UTC)
commit 1f9254ce5e018e6b3fc3b71a07da384a5682cc2b
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 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]