aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-04-12 22:03:35 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-04-12 22:54:32 +0800
commite68a333a4fb34292aa7bf8ec1004c390e8475afa (patch)
treea64f56bdcac4577f6040e39987ebbcaa2c03b47d
parentb9a1dcc4df863fc7ade0ca61a8d325c731bde142 (diff)
downloadgsoc2013-evolution-e68a333a4fb34292aa7bf8ec1004c390e8475afa.tar
gsoc2013-evolution-e68a333a4fb34292aa7bf8ec1004c390e8475afa.tar.gz
gsoc2013-evolution-e68a333a4fb34292aa7bf8ec1004c390e8475afa.tar.bz2
gsoc2013-evolution-e68a333a4fb34292aa7bf8ec1004c390e8475afa.tar.lz
gsoc2013-evolution-e68a333a4fb34292aa7bf8ec1004c390e8475afa.tar.xz
gsoc2013-evolution-e68a333a4fb34292aa7bf8ec1004c390e8475afa.tar.zst
gsoc2013-evolution-e68a333a4fb34292aa7bf8ec1004c390e8475afa.zip
web-inspector: Change the shortcut key to match Chrome.
GDK_MOD1_MASK is ill defined across various keyboards, apparently. Use Ctrl + Shift + I instead, which happens to match what Chrome uses to bring up its web inspector.
-rw-r--r--modules/web-inspector/evolution-web-inspector.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/web-inspector/evolution-web-inspector.c b/modules/web-inspector/evolution-web-inspector.c
index 2b960aac43..891289093d 100644
--- a/modules/web-inspector/evolution-web-inspector.c
+++ b/modules/web-inspector/evolution-web-inspector.c
@@ -31,9 +31,9 @@
(G_TYPE_CHECK_INSTANCE_CAST \
((obj), E_TYPE_WEB_INSPECTOR, EWebInspector))
-/* <Control>+<Alt>+I */
-#define WEB_INSPECTOR_MOD (GDK_CONTROL_MASK | GDK_MOD1_MASK)
-#define WEB_INSPECTOR_KEY (GDK_KEY_i)
+/* <Control>+<Shift>+I */
+#define WEB_INSPECTOR_MOD (GDK_CONTROL_MASK | GDK_SHIFT_MASK)
+#define WEB_INSPECTOR_KEY (GDK_KEY_I)
#define WEB_INSPECTOR_SHORTCUT_SHOW(event) \
((((event)->state & GDK_MODIFIER_MASK) == WEB_INSPECTOR_MOD) && \