runDialog: don't destroy on close
It's a singleton like the endSessionDialog https://bugzilla.gnome.org/show_bug.cgi?id=697435
This commit is contained in:
parent
7c21ab0985
commit
963905adcd
@ -35,7 +35,8 @@ const RunDialog = new Lang.Class({
|
||||
Extends: ModalDialog.ModalDialog,
|
||||
|
||||
_init : function() {
|
||||
this.parent({ styleClass: 'run-dialog' });
|
||||
this.parent({ styleClass: 'run-dialog',
|
||||
destroyOnClose: false });
|
||||
|
||||
this._lockdownSettings = new Gio.Settings({ schema: LOCKDOWN_SCHEMA });
|
||||
this._terminalSettings = new Gio.Settings({ schema: TERMINAL_SCHEMA });
|
||||
|
Loading…
Reference in New Issue
Block a user