diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-04-18 19:39:37 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-04-18 19:45:46 +0800 |
commit | d15dd3e89b4a29c3bbe2d4ac7be874f5aa965fb4 (patch) | |
tree | f812c38d7118115fc5fb3c68be77ec0ba2a232fa | |
parent | c7ded9a0dfadc69f603c524c5816fe32229545f6 (diff) | |
download | gsoc2013-evolution-d15dd3e89b4a29c3bbe2d4ac7be874f5aa965fb4.tar.gz 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.
-rw-r--r-- | modules/web-inspector/evolution-web-inspector.c | 2 |
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; |