aboutsummaryrefslogtreecommitdiffstats
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 20:08:59 +0800
commit89f02166e16b44ad77a46f9ef910b6ce5eeb9fe1 (patch)
treebec74c51362915729f4d7805112f7a12a31b6128
parent0a929bfe40bf6529b09c0276c2bd70dd7a4d4ff8 (diff)
downloadgsoc2013-evolution-89f02166e16b44ad77a46f9ef910b6ce5eeb9fe1.tar
gsoc2013-evolution-89f02166e16b44ad77a46f9ef910b6ce5eeb9fe1.tar.gz
gsoc2013-evolution-89f02166e16b44ad77a46f9ef910b6ce5eeb9fe1.tar.bz2
gsoc2013-evolution-89f02166e16b44ad77a46f9ef910b6ce5eeb9fe1.tar.lz
gsoc2013-evolution-89f02166e16b44ad77a46f9ef910b6ce5eeb9fe1.tar.xz
gsoc2013-evolution-89f02166e16b44ad77a46f9ef910b6ce5eeb9fe1.tar.zst
gsoc2013-evolution-89f02166e16b44ad77a46f9ef910b6ce5eeb9fe1.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. (cherry picked from commit d15dd3e89b4a29c3bbe2d4ac7be874f5aa965fb4)
-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;