runDialog: use Shell.get_event_state(e), not e.get_state()

This commit is contained in:
Dan Winship 2010-03-24 13:15:50 -04:00
parent 468f30e4ab
commit 5635797cb9

View File

@ -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);