[gnome-maps/wip/mlundblad/drop-network-monitor: 3/9] 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: 3/9] mainWindow: Remove network check for the sidebar
- Date: Thu, 31 Mar 2022 20:49:42 +0000 (UTC)
commit eb62b62c2eca8dcc33c5abbcd3df71e4122fbd6d
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]