runDialog: Pass context to Meta.restart()

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2316>
This commit is contained in:
Jonas Ådahl 2022-05-31 12:59:56 +02:00 committed by Florian Müllner
parent 39bc996095
commit a6995a3892

View File

@ -240,7 +240,7 @@ class RunDialog extends ModalDialog.ModalDialog {
} }
this._shouldFadeOut = false; this._shouldFadeOut = false;
this.close(); this.close();
Meta.restart(_("Restarting…")); Meta.restart(_('Restarting…'), global.context);
} }
open() { open() {