diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-19 19:36:40 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-19 19:36:40 +0000 |
commit | e5d9c7b50758429d92b06d40f7a6621324caba8b (patch) | |
tree | 035702651faa4905749b8052300424f373ab3d0e /chrome | |
parent | b4ec5d95f7ae134d69449e1715f7f744dee31448 (diff) | |
download | chromium_src-e5d9c7b50758429d92b06d40f7a6621324caba8b.zip chromium_src-e5d9c7b50758429d92b06d40f7a6621324caba8b.tar.gz chromium_src-e5d9c7b50758429d92b06d40f7a6621324caba8b.tar.bz2 |
GTK: Re-add keypad accelerators for zoom level.
these got lost in the shuffle.
BUG=32592
TEST=zoom with keypad +,-,0
Review URL: http://codereview.chromium.org/549087
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36534 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/gtk/accelerators_gtk.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/gtk/accelerators_gtk.cc b/chrome/browser/gtk/accelerators_gtk.cc index 04a2a02..1c3c863 100644 --- a/chrome/browser/gtk/accelerators_gtk.cc +++ b/chrome/browser/gtk/accelerators_gtk.cc @@ -90,11 +90,14 @@ const struct AcceleratorMapping { { GDK_F4, IDC_CLOSE_WINDOW, GDK_MOD1_MASK }, // Zoom level. + { GDK_KP_Add, IDC_ZOOM_PLUS, GDK_CONTROL_MASK }, { GDK_plus, IDC_ZOOM_PLUS, GdkModifierType(GDK_CONTROL_MASK | GDK_SHIFT_MASK) }, { GDK_equal, IDC_ZOOM_PLUS, GDK_CONTROL_MASK }, { XF86XK_ZoomIn, IDC_ZOOM_PLUS, GdkModifierType(0) }, + { GDK_KP_0, IDC_ZOOM_NORMAL, GDK_CONTROL_MASK }, { GDK_0, IDC_ZOOM_NORMAL, GDK_CONTROL_MASK }, + { GDK_KP_Subtract, IDC_ZOOM_MINUS, GDK_CONTROL_MASK }, { GDK_minus, IDC_ZOOM_MINUS, GDK_CONTROL_MASK }, { GDK_underscore, IDC_ZOOM_MINUS, GdkModifierType(GDK_CONTROL_MASK | GDK_SHIFT_MASK) }, |