diff --git a/js/ui/status/network.js b/js/ui/status/network.js index 7370af985..98e50dbee 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -161,6 +161,10 @@ const NMMenuItem = GObject.registerClass({ return this.state <= NM.ActiveConnectionState.ACTIVATED; } + get timestamp() { + return 0; + } + activate() { super.activate(Clutter.get_current_event()); } @@ -301,6 +305,10 @@ class NMConnectionItem extends NMMenuItem { return this._connection.get_id(); } + get timestamp() { + return this._connection.get_setting_connection()?.get_timestamp() ?? 0; + } + updateForConnection(connection) { // connection should always be the same object // (and object path) as this._connection, but