[gnome-maps/wip/mlundblad/drop-network-monitor: 2/4] 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: 2/4] mainWindow: Remove network check for the sidebar
- Date: Tue, 8 Mar 2022 22:25:57 +0000 (UTC)
commit e92fe5f4c3baedc6b28706eccb37a7a744312ba5
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]