summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2011-12-03 18:52:35 -0500
committerRyan Lortie <desrt@desrt.ca>2011-12-19 12:51:10 -0500
commit43bf430f2135c35595bc05244630470d469de55b (patch)
tree358f69b1c0c67b9f923354263886d488f9fb6e0d /examples
parentcd7ce867a75d69fa708a04bca91b8ad9c5f1b0e6 (diff)
downloadgtk+-43bf430f2135c35595bc05244630470d469de55b.tar.gz
bloatpad: add proper sections to the menus
Diffstat (limited to 'examples')
-rw-r--r--examples/bloatpad.c18
1 files changed, 13 insertions, 5 deletions
diff --git a/examples/bloatpad.c b/examples/bloatpad.c
index 8cd41c1e56..93b9b6c736 100644
--- a/examples/bloatpad.c
+++ b/examples/bloatpad.c
@@ -191,16 +191,24 @@ bloat_pad_startup (GApplication *application)
gtk_builder_add_from_string (builder,
"<interface>"
" <menu id='app-menu'>"
- " <item label='_About Bloatpad' action='app.about'/>"
- " <item label='_Quit' action='app.quit'/>"
+ " <section>"
+ " <item label='_About Bloatpad' action='app.about'/>"
+ " </section>"
+ " <section>"
+ " <item label='_Quit' action='app.quit'/>"
+ " </section>"
" </menu>"
" <menu id='menubar'>"
" <submenu label='_Edit'>"
- " <item label='_Copy' action='win.copy'/>"
- " <item label='_Paste' action='win.paste'/>"
+ " <section>"
+ " <item label='_Copy' action='win.copy'/>"
+ " <item label='_Paste' action='win.paste'/>"
+ " </section>"
" </submenu>"
" <submenu label='_View'>"
- " <item label='_Fullscreen' action='win.fullscreen'/>"
+ " <section>"
+ " <item label='_Fullscreen' action='win.fullscreen'/>"
+ " </section>"
" </submenu>"
" </menu>"
"</interface>", -1, NULL);