Clear text in the run dialog when it's hidden with escape

This commit is contained in:
Siegfried-Angel Gevatter Pujals 2009-08-06 02:04:04 +02:00
parent be95ca553a
commit 21858d928a

View File

@ -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();
}