summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorWilliam Hua <william@attente.ca>2011-12-11 22:17:51 -0500
committerRyan Lortie <desrt@desrt.ca>2011-12-19 12:51:12 -0500
commit4846f3619a2af4ffc0b8cb4e02def162b7a3d531 (patch)
treee695b5ce0142c8a309395153ebe2d3b2af8488ae /examples
parent1a02fc036dc0423991840ba3949febe22f1f149f (diff)
downloadgtk+-4846f3619a2af4ffc0b8cb4e02def162b7a3d531.tar.gz
Add accelerators to bloatpad.
Diffstat (limited to 'examples')
-rw-r--r--examples/bloatpad.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/bloatpad.c b/examples/bloatpad.c
index 62eb0d0035..ddd87caf8e 100644
--- a/examples/bloatpad.c
+++ b/examples/bloatpad.c
@@ -200,7 +200,7 @@ bloat_pad_startup (GApplication *application)
"<interface>"
" <menu id='app-menu'>"
" <section>"
- " <item label='_New Window' action='app.new'/>"
+ " <item label='_New Window' action='app.new' accel='<Primary>n'/>"
" </section>"
" <section>"
" <item label='_About Bloatpad' action='app.about'/>"
@@ -212,8 +212,8 @@ bloat_pad_startup (GApplication *application)
" <menu id='menubar'>"
" <submenu label='_Edit'>"
" <section>"
- " <item label='_Copy' action='win.copy'/>"
- " <item label='_Paste' action='win.paste'/>"
+ " <item label='_Copy' action='win.copy' accel='<Primary>c'/>"
+ " <item label='_Paste' action='win.paste' accel='<Primary>v'/>"
" </section>"
" </submenu>"
" <submenu label='_View'>"