From a9bdffc9e6e0404c3fa165670aa7253504b37216 Mon Sep 17 00:00:00 2001 From: Siegfried-Angel Gevatter Pujals Date: Wed, 31 Mar 2010 15:29:11 +0200 Subject: [PATCH] runDialog: Accept Enter (keypad) key in addition to Return. --- js/ui/runDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/runDialog.js b/js/ui/runDialog.js index bbeb849e8..14edc726e 100644 --- a/js/ui/runDialog.js +++ b/js/ui/runDialog.js @@ -268,7 +268,7 @@ RunDialog.prototype = { this._setCommandFromHistory(this._historyIndex--); return true; } - if (symbol == Clutter.Return) { + if (symbol == Clutter.Return || symbol == Clutter.KP_Enter) { if (Shell.get_event_state(e) & Clutter.ModifierType.CONTROL_MASK) this._run(o.get_text(), true); else