[gnome-shell] runDialog: don't destroy on close
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] runDialog: don't destroy on close
- Date: Sat, 6 Apr 2013 15:28:55 +0000 (UTC)
commit 963905adcd000152e021babad7126c4d55590958
Author: Ray Strode <rstrode redhat com>
Date: Sat Apr 6 11:09:06 2013 -0400
runDialog: don't destroy on close
It's a singleton like the endSessionDialog
https://bugzilla.gnome.org/show_bug.cgi?id=697435
js/ui/runDialog.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/runDialog.js b/js/ui/runDialog.js
index 9d288d9..7b753a7 100644
--- a/js/ui/runDialog.js
+++ b/js/ui/runDialog.js
@@ -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 });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]