[evolution/webkit-composer] [web-inspector] Yet more shortcut tweaking.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/webkit-composer] [web-inspector] Yet more shortcut tweaking.
- Date: Thu, 18 Apr 2013 12:09:16 +0000 (UTC)
commit b41128f9adc17a0eb8b2223588a8cff3701a8200
Author: Matthew Barnes <mbarnes redhat com>
Date: Thu Apr 18 07:39:37 2013 -0400
[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.
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 8912890..f0d355b 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]