From 89f02166e16b44ad77a46f9ef910b6ce5eeb9fe1 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 18 Apr 2013 07:39:37 -0400 Subject: [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. (cherry picked from commit d15dd3e89b4a29c3bbe2d4ac7be874f5aa965fb4) --- modules/web-inspector/evolution-web-inspector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3