[gnome-shell] Clear text in the run dialog when it's hidden with escape
- From: Siegfried-Angel Gevatter Pujals <sgevatter src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-shell] Clear text in the run dialog when it's hidden with escape
- Date: Thu, 6 Aug 2009 00:04:53 +0000 (UTC)
commit 21858d928a432486dd2180498879b8a51d969288
Author: Siegfried-Angel Gevatter Pujals <rainct ubuntu com>
Date: Thu Aug 6 02:04:04 2009 +0200
Clear text in the run dialog when it's hidden with escape
js/ui/runDialog.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/runDialog.js b/js/ui/runDialog.js
index 9e84782..becac0a 100644
--- a/js/ui/runDialog.js
+++ b/js/ui/runDialog.js
@@ -87,7 +87,6 @@ RunDialog.prototype = {
this._entry.connect('activate', Lang.bind(this, function (o, e) {
this._run(o.get_text());
- this._entry.text = '';
this.close();
return false;
}));
@@ -138,6 +137,7 @@ RunDialog.prototype = {
this._isOpen = false;
this._group.hide();
+ this._entry.text = '';
Main.endModal();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]