aboutsummaryrefslogtreecommitdiffstats
path: root/modules/web-inspector
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:56:01 +0800
commita041490db596ffea5885642237f2e6341bf4a243 (patch)
treea08b3b3dfba6898f3f2095203d6d15594902a791 /modules/web-inspector
parentb5330f51e46e8805f9cff66f85aaf23e04793831 (diff)
downloadgsoc2013-evolution-a041490db596ffea5885642237f2e6341bf4a243.tar
gsoc2013-evolution-a041490db596ffea5885642237f2e6341bf4a243.tar.gz
gsoc2013-evolution-a041490db596ffea5885642237f2e6341bf4a243.tar.bz2
gsoc2013-evolution-a041490db596ffea5885642237f2e6341bf4a243.tar.lz
gsoc2013-evolution-a041490db596ffea5885642237f2e6341bf4a243.tar.xz
gsoc2013-evolution-a041490db596ffea5885642237f2e6341bf4a243.tar.zst
gsoc2013-evolution-a041490db596ffea5885642237f2e6341bf4a243.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. (cherry picked from commit e68a333a4fb34292aa7bf8ec1004c390e8475afa)
Diffstat (limited to 'modules/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) && \