summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-21 18:45:04 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-21 18:45:04 +0000
commit6379bc36727866e8ef1896ccb8ef5fac0c45742c (patch)
tree4b5b74937940a472daa8bb52244bbab0269e5c46 /chrome
parent5eb8eda69177fbc7013aaf009deb6f77e30799ac (diff)
downloadchromium_src-6379bc36727866e8ef1896ccb8ef5fac0c45742c.zip
chromium_src-6379bc36727866e8ef1896ccb8ef5fac0c45742c.tar.gz
chromium_src-6379bc36727866e8ef1896ccb8ef5fac0c45742c.tar.bz2
Hook up alt-d on linux.
Also clean up some accelerators. BUG=10803 Review URL: http://codereview.chromium.org/90008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14123 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/gtk/browser_window_gtk.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/gtk/browser_window_gtk.cc b/chrome/browser/gtk/browser_window_gtk.cc
index f8277cc..cf86cf0 100644
--- a/chrome/browser/gtk/browser_window_gtk.cc
+++ b/chrome/browser/gtk/browser_window_gtk.cc
@@ -107,12 +107,12 @@ const struct AcceleratorMapping {
} kAcceleratorMap[] = {
{ GDK_k, IDC_FOCUS_SEARCH, GDK_CONTROL_MASK },
{ GDK_l, IDC_FOCUS_LOCATION, GDK_CONTROL_MASK },
+ { GDK_d, IDC_FOCUS_LOCATION, GDK_MOD1_MASK },
{ GDK_o, IDC_OPEN_FILE, GDK_CONTROL_MASK },
{ GDK_Page_Down, IDC_SELECT_NEXT_TAB, GDK_CONTROL_MASK },
{ GDK_Page_Up, IDC_SELECT_PREVIOUS_TAB, GDK_CONTROL_MASK },
{ GDK_w, IDC_CLOSE_TAB, GDK_CONTROL_MASK },
- { GDK_plus, IDC_ZOOM_PLUS, GdkModifierType(GDK_CONTROL_MASK|GDK_SHIFT_MASK) },
- { GDK_equal, IDC_ZOOM_PLUS, GDK_CONTROL_MASK },
+ { GDK_plus, IDC_ZOOM_PLUS, GDK_CONTROL_MASK },
{ GDK_0, IDC_ZOOM_NORMAL, GDK_CONTROL_MASK },
{ GDK_minus, IDC_ZOOM_MINUS, GDK_CONTROL_MASK },
};