aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-04-18 19:39:37 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-04-18 19:45:46 +0800
commitd15dd3e89b4a29c3bbe2d4ac7be874f5aa965fb4 (patch)
treef812c38d7118115fc5fb3c68be77ec0ba2a232fa /modules
parentc7ded9a0dfadc69f603c524c5816fe32229545f6 (diff)
downloadgsoc2013-evolution-d15dd3e89b4a29c3bbe2d4ac7be874f5aa965fb4.tar
gsoc2013-evolution-d15dd3e89b4a29c3bbe2d4ac7be874f5aa965fb4.tar.gz
gsoc2013-evolution-d15dd3e89b4a29c3bbe2d4ac7be874f5aa965fb4.tar.bz2
gsoc2013-evolution-d15dd3e89b4a29c3bbe2d4ac7be874f5aa965fb4.tar.lz
gsoc2013-evolution-d15dd3e89b4a29c3bbe2d4ac7be874f5aa965fb4.tar.xz
gsoc2013-evolution-d15dd3e89b4a29c3bbe2d4ac7be874f5aa965fb4.tar.zst
gsoc2013-evolution-d15dd3e89b4a29c3bbe2d4ac7be874f5aa965fb4.zip
[web-inspector] Yet more shortcut tweaking.
Be more forgiving of modifiers. Check for GDK_CONTROL_MASK and GDK_SHIFT_MASK, but not to the exclusion of all other modifiers. There, that should make the shortcut work for everyone now.
Diffstat (limited to 'modules')
-rw-r--r--modules/web-inspector/evolution-web-inspector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/web-inspector/evolution-web-inspector.c b/modules/web-inspector/evolution-web-inspector.c
index 891289093d..f0d355bccb 100644
--- a/modules/web-inspector/evolution-web-inspector.c
+++ b/modules/web-inspector/evolution-web-inspector.c
@@ -36,7 +36,7 @@
#define WEB_INSPECTOR_KEY (GDK_KEY_I)
#define WEB_INSPECTOR_SHORTCUT_SHOW(event) \
- ((((event)->state & GDK_MODIFIER_MASK) == WEB_INSPECTOR_MOD) && \
+ ((((event)->state & WEB_INSPECTOR_MOD) == WEB_INSPECTOR_MOD) && \
((event)->keyval == WEB_INSPECTOR_KEY))
typedef struct _EWebInspector EWebInspector;