[gnome-shell] Fix rundialog not closing for internal commands
- From: Owen Taylor <otaylor src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-shell] Fix rundialog not closing for internal commands
- Date: Fri, 2 Oct 2009 18:20:12 +0000 (UTC)
commit 8a2cc11cc06c3c8dc6c2d8f08a1a5b52113841c0
Author: Adel Gadllah <adel gadllah gmail com>
Date: Thu Oct 1 23:44:16 2009 +0200
Fix rundialog not closing for internal commands
Signed-off-by: Adel Gadllah <adel gadllah gmail com>
https://bugzilla.gnome.org/show_bug.cgi?id=597076
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 473375b..1d6ae4a 100644
--- a/js/ui/runDialog.js
+++ b/js/ui/runDialog.js
@@ -148,6 +148,7 @@ RunDialog.prototype = {
},
_run : function(command) {
+ this._commandError = false;
let f;
if (this._enableInternalCommands)
f = this._internalCommands[command];
@@ -157,7 +158,6 @@ RunDialog.prototype = {
f();
} else if (command) {
try {
- this._commandError = false;
let [ok, len, args] = GLib.shell_parse_argv(command);
let p = new Shell.Process({'args' : args});
p.run();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]