diff --git a/js/ui/status/network.js b/js/ui/status/network.js index 1beab28c1..994c35c13 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -1343,6 +1343,15 @@ const NMSection = GObject.registerClass({ this.menu.actor.visible = visible; } + activate() { + const activeItems = [...this._getActiveItems()]; + + if (activeItems.length > 0) + activeItems.forEach(i => i.activate()); + else + this._itemBinding.source?.activate(); + } + _loadInitialItems() { throw new GObject.NotImplementedError(); }