From 5635797cb94773606336d0454fddfb1832488c19 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 24 Mar 2010 13:15:50 -0400 Subject: [PATCH] runDialog: use Shell.get_event_state(e), not e.get_state() --- 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 ca2fb262e..bbeb849e8 100644 --- a/js/ui/runDialog.js +++ b/js/ui/runDialog.js @@ -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);