runDialog: use Shell.get_event_state(e), not e.get_state()
This commit is contained in:
parent
468f30e4ab
commit
5635797cb9
@ -269,7 +269,7 @@ RunDialog.prototype = {
|
||||
return true;
|
||||
}
|
||||
if (symbol == Clutter.Return) {
|
||||
if (e.get_state() & Clutter.ModifierType.CONTROL_MASK)
|
||||
if (Shell.get_event_state(e) & Clutter.ModifierType.CONTROL_MASK)
|
||||
this._run(o.get_text(), true);
|
||||
else
|
||||
this._run(o.get_text(), false);
|
||||
|
Loading…
Reference in New Issue
Block a user