runDialog: Accept Enter (keypad) key in addition to Return.
This commit is contained in:
parent
68723f191c
commit
a9bdffc9e6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user