From eed307713b8ef4da5e4edf0aa8d85aa5c32a6d4f Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Wed, 25 Jan 2012 18:23:25 -0500 Subject: GtkBuilder: change format of menus Change the format of GtkBuilder to be more in-line with the style of the rest of GtkBuilder so that we can do translation in a consistent way. The format is now substantially more difficult to hand-write, but tools should be along soon. There is an xslt program attached to the bug to help you convert your existing .ui files from the old format to the new one. https://bugzilla.gnome.org/show_bug.cgi?id=668696 --- examples/bloatpad.c | 41 +++++++++++++++++++++++++++++++++-------- 1 file changed, 33 insertions(+), 8 deletions(-) (limited to 'examples/bloatpad.c') diff --git a/examples/bloatpad.c b/examples/bloatpad.c index ba8164a708..4178580262 100644 --- a/examples/bloatpad.c +++ b/examples/bloatpad.c @@ -275,25 +275,50 @@ bloat_pad_startup (GApplication *application) "" " " "
" - " " + " " + " _New Window" + " app.new" + " <Primary>n" + " " "
" "
" - " " + " " + " _About Bloatpad" + " app.about" + " " "
" "
" - " " + " " + " _Quit" + " app.quit" + " <Primary>q" + " " "
" "
" " " - " " + " " + " _Edit" "
" - " " - " " + " " + " _Copy" + " win.copy" + " <Primary>c" + " " + " " + " _Parse" + " win.parse" + " <Primary>v" + " " "
" "
" - " " + " " + " _View" "
" - " " + " " + " _Fullscreen" + " win.fullscreen" + " F11" + " " "
" "
" "
" -- cgit v1.2.1