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--);
|
this._setCommandFromHistory(this._historyIndex--);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (symbol == Clutter.Return) {
|
if (symbol == Clutter.Return || symbol == Clutter.KP_Enter) {
|
||||||
if (Shell.get_event_state(e) & Clutter.ModifierType.CONTROL_MASK)
|
if (Shell.get_event_state(e) & Clutter.ModifierType.CONTROL_MASK)
|
||||||
this._run(o.get_text(), true);
|
this._run(o.get_text(), true);
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user