mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
js: Replace removed Meta.quit()
This one was moved to Meta.Context as well.
I don't know why the `debugexit` command quit with an error code
(it dates back all the way to commit 98bd590a5d). Terminating on
request by the user doesn't sound like an error, so don't replicate
that particular behavior.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1917>
This commit is contained in:
parent
d8be637dca
commit
56da0f6561
2 changed files with 5 additions and 3 deletions
|
|
@ -42,7 +42,7 @@ class RunDialog extends ModalDialog.ModalDialog {
|
|||
// Developer brain backwards compatibility
|
||||
'restart': this._restart.bind(this),
|
||||
|
||||
'debugexit': () => Meta.quit(Meta.ExitCode.ERROR),
|
||||
'debugexit': () => global.context.terminate(),
|
||||
|
||||
// rt is short for "reload theme"
|
||||
'rt': () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue