[gnome-shell] runDialog: use Shell.get_event_state(e), not e.get_state()
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] runDialog: use Shell.get_event_state(e), not e.get_state()
- Date: Wed, 24 Mar 2010 17:17:30 +0000 (UTC)
commit 5635797cb94773606336d0454fddfb1832488c19
Author: Dan Winship <danw gnome org>
Date: Wed Mar 24 13:15:50 2010 -0400
runDialog: use Shell.get_event_state(e), not e.get_state()
js/ui/runDialog.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/runDialog.js b/js/ui/runDialog.js
index ca2fb26..bbeb849 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]