modalDialog: Remove timestamp parameter from open()

It is now unused.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3195>
This commit is contained in:
Florian Müllner
2024-02-17 00:07:36 +01:00
committed by Marge Bot
parent 0ae285cc82
commit 3f72a04a1b
5 changed files with 7 additions and 7 deletions

View File

@ -648,7 +648,7 @@ class VPNRequestHandler extends Signals.EventEmitter {
if (contentOverride && contentOverride.secrets.length) {
// Only show the dialog if we actually have something to ask
this._shellDialog = new NetworkSecretDialog(this._agent, this._requestId, this._connection, 'vpn', [], this._flags, contentOverride);
this._shellDialog.open(global.get_current_time());
this._shellDialog.open();
} else {
this._agent.respond(this._requestId, Shell.NetworkAgentResponse.CONFIRMED);
this.destroy();
@ -818,7 +818,7 @@ class NetworkAgent {
delete this._dialogs[requestId];
});
this._dialogs[requestId] = dialog;
dialog.open(global.get_current_time());
dialog.open();
}
_cancelRequest(agent, requestId) {