diff options
author | Xan Lopez <xan@igalia.com> | 2012-01-26 17:34:23 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-01-26 17:35:38 +0800 |
commit | 6ef033c1ed5f1626ce565f72664e258f8ef3cc79 (patch) | |
tree | 41cced8678794f111962088f7c76b1f7460f6cb6 /data | |
parent | 6697ac29a87afd06c2755d2fb4d87069cad6cf68 (diff) | |
download | gsoc2013-epiphany-6ef033c1ed5f1626ce565f72664e258f8ef3cc79.tar gsoc2013-epiphany-6ef033c1ed5f1626ce565f72664e258f8ef3cc79.tar.gz gsoc2013-epiphany-6ef033c1ed5f1626ce565f72664e258f8ef3cc79.tar.bz2 gsoc2013-epiphany-6ef033c1ed5f1626ce565f72664e258f8ef3cc79.tar.lz gsoc2013-epiphany-6ef033c1ed5f1626ce565f72664e258f8ef3cc79.tar.xz gsoc2013-epiphany-6ef033c1ed5f1626ce565f72664e258f8ef3cc79.tar.zst gsoc2013-epiphany-6ef033c1ed5f1626ce565f72664e258f8ef3cc79.zip |
Adapt to the new format form global menus
This requires a GTK+ newer than eed30771.
Diffstat (limited to 'data')
-rw-r--r-- | data/ui/epiphany-application-menu.ui | 53 |
1 files changed, 41 insertions, 12 deletions
diff --git a/data/ui/epiphany-application-menu.ui b/data/ui/epiphany-application-menu.ui index 62f214092..74ec40606 100644 --- a/data/ui/epiphany-application-menu.ui +++ b/data/ui/epiphany-application-menu.ui @@ -1,24 +1,53 @@ -<?xml version="1.0" encoding="UTF-8"?> +<?xml version="1.0"?> <interface> - <menu id='app-menu'> + <menu id="app-menu"> <section> - <item label='_New Window' action='app.new' accel='<Primary>n' /> + <item> + <attribute name="label" translatable="yes">_New Window</attribute> + <attribute name="action">app.new</attribute> + <attribute name="accel"><Primary>n</attribute> + </item> </section> <section> - <item label='_Bookmarks' action='app.bookmarks' accel='<Primary>b' /> - <item label='_History' action='app.history' accel='<Primary>h' /> + <item> + <attribute name="label" translatable="yes">_Bookmarks</attribute> + <attribute name="action">app.bookmarks</attribute> + <attribute name="accel"><Primary>b</attribute> + </item> + <item> + <attribute name="label" translatable="yes">_History</attribute> + <attribute name="action">app.history</attribute> + <attribute name="accel"><Primary>h</attribute> + </item> </section> <section> - <item label='Preferences' action='app.preferences' /> - <item label='Personal Data' action='app.pdm' /> + <item> + <attribute name="label" translatable="yes">Preferences</attribute> + <attribute name="action">app.preferences</attribute> + </item> + <item> + <attribute name="label" translatable="yes">Personal Data</attribute> + <attribute name="action">app.pdm</attribute> + </item> </section> <section> - <item label='_Help' action='app.help' accel='<Primary>h' /> - <item label='_About' action='app.about' accel='<Primary>a' /> + <item> + <attribute name="label" translatable="yes">_Help</attribute> + <attribute name="action">app.help</attribute> + <attribute name="accel"><Primary>h</attribute> + </item> + <item> + <attribute name="label" translatable="yes">_About</attribute> + <attribute name="action">app.about</attribute> + <attribute name="accel"><Primary>a</attribute> + </item> </section> - <section> - <item label='_Quit' action='app.quit' accel='<Primary>q' /> + <section> + <item> + <attribute name="label" translatable="yes">_Quit</attribute> + <attribute name="action">app.quit</attribute> + <attribute name="accel"><Primary>q</attribute> + </item> </section> </menu> </interface> - |