[gnome-maps/wip/mlundblad/drop-network-monitor: 10/16] 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: 10/16] mainWindow: Remove network check for the sidebar
- Date: Sun, 20 Mar 2022 22:33:47 +0000 (UTC)
commit e6178ab37f31c4530b658f13344af44d24085173
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]