Make GTK accelerator setup code more compact.
Make GTK accelerator setup code more compact.

Review URL: http://codereview.chromium.org/50042

git-svn-id: http://src.chromium.org/svn/trunk/src@12184 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

Former-commit-id: 80300b740a76cd5d306cc1d99cc7ca633a44cef2
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser