Add accelerators to bloatpad.

This commit is contained in:
William Hua 2011-12-11 22:17:51 -05:00 committed by Ryan Lortie
parent 1a02fc036d
commit 4846f3619a

View File

@ -200,7 +200,7 @@ bloat_pad_startup (GApplication *application)
"<interface>" "<interface>"
" <menu id='app-menu'>" " <menu id='app-menu'>"
" <section>" " <section>"
" <item label='_New Window' action='app.new'/>" " <item label='_New Window' action='app.new' accel='<Primary>n'/>"
" </section>" " </section>"
" <section>" " <section>"
" <item label='_About Bloatpad' action='app.about'/>" " <item label='_About Bloatpad' action='app.about'/>"
@ -212,8 +212,8 @@ bloat_pad_startup (GApplication *application)
" <menu id='menubar'>" " <menu id='menubar'>"
" <submenu label='_Edit'>" " <submenu label='_Edit'>"
" <section>" " <section>"
" <item label='_Copy' action='win.copy'/>" " <item label='_Copy' action='win.copy' accel='<Primary>c'/>"
" <item label='_Paste' action='win.paste'/>" " <item label='_Paste' action='win.paste' accel='<Primary>v'/>"
" </section>" " </section>"
" </submenu>" " </submenu>"
" <submenu label='_View'>" " <submenu label='_View'>"