diff options
author | Ryan Lortie <desrt@desrt.ca> | 2012-01-26 00:27:00 -0500 |
---|---|---|
committer | Paolo Borelli <pborelli@gnome.org> | 2012-04-05 23:47:10 +0200 |
commit | f377bfcd87ac9078f76109a7e5e1a75c72506598 (patch) | |
tree | 33aff2ef08042f9801056904510f22563f45b6e9 /data | |
parent | 59e554a621f78d76a9315fe2a8fc9cda64152dc1 (diff) | |
download | baobab-f377bfcd87ac9078f76109a7e5e1a75c72506598.tar.gz |
menus: Update to new menu XML format
The GtkBuilder format for menus changed. Adjust accordingly.
Diffstat (limited to 'data')
-rw-r--r-- | data/baobab-menu.ui | 123 |
1 files changed, 99 insertions, 24 deletions
diff --git a/data/baobab-menu.ui b/data/baobab-menu.ui index 5a25965..b3e1658 100644 --- a/data/baobab-menu.ui +++ b/data/baobab-menu.ui @@ -1,55 +1,130 @@ -<?xml version="1.0" encoding="UTF-8"?> +<?xml version="1.0"?> <interface> <!-- interface-requires gtk+ 3.0 --> <menu id="appmenu"> <section> - <item label="_Scan Home" action="win.scan-home" accel="<Primary>h"/> - <item label="Scan _Filesystem" action="win.scan-filesystem" accel="<Primary>f"/> - <item label="Scan F_older" action="win.scan-folder" accel="<Primary>o"/> + <item> + <attribute name="label" translatable="yes">_Scan Home</attribute> + <attribute name="action">win.scan-home</attribute> + <attribute name="accel"><Primary>h</attribute> + </item> + <item> + <attribute name="label" translatable="yes">Scan _Filesystem</attribute> + <attribute name="action">win.scan-filesystem</attribute> + <attribute name="accel"><Primary>f</attribute> + </item> + <item> + <attribute name="label" translatable="yes">Scan F_older</attribute> + <attribute name="action">win.scan-folder</attribute> + <attribute name="accel"><Primary>o</attribute> + </item> </section> <section> - <item label="_Stop" action="win.stop"/> - <item label="_Reload" action="win.reload" accel="<Primary>r"/> + <item> + <attribute name="label" translatable="yes">_Stop</attribute> + <attribute name="action">win.stop</attribute> + </item> + <item> + <attribute name="label" translatable="yes">_Reload</attribute> + <attribute name="action">win.reload</attribute> + <attribute name="accel"><Primary>r</attribute> + </item> </section> <section> - <item label="_Help" action="win.help" accel="F1"/> - <item label="_About" action="win.about"/> + <item> + <attribute name="label" translatable="yes">_Help</attribute> + <attribute name="action">win.help</attribute> + <attribute name="accel">F1</attribute> + </item> + <item> + <attribute name="label" translatable="yes">_About</attribute> + <attribute name="action">win.about</attribute> + </item> </section> <section> - <item label="_Quit" action="app.quit" accel="<Primary>q"/> + <item> + <attribute name="label" translatable="yes">_Quit</attribute> + <attribute name="action">app.quit</attribute> + <attribute name="accel"><Primary>q</attribute> + </item> </section> </menu> <menu id="menubar"> - <submenu label="_Analizer"> + <submenu> + <attribute name="label" translatable="yes">_Analizer</attribute> <section> - <item label="_Scan Home" action="win.scan-home" accel="<Primary>h"/> - <item label="Scan _Filesystem" action="win.scan-filesystem" accel="<Primary>f"/> - <item label="Scan F_older" action="win.scan-folder" accel="<Primary>o"/> + <item> + <attribute name="label" translatable="yes">_Scan Home</attribute> + <attribute name="action">win.scan-home</attribute> + <attribute name="accel"><Primary>h</attribute> + </item> + <item> + <attribute name="label" translatable="yes">Scan _Filesystem</attribute> + <attribute name="action">win.scan-filesystem</attribute> + <attribute name="accel"><Primary>f</attribute> + </item> + <item> + <attribute name="label" translatable="yes">Scan F_older</attribute> + <attribute name="action">win.scan-folder</attribute> + <attribute name="accel"><Primary>o</attribute> + </item> </section> <section> - <item label="_Quit" action="app.quit" accel="<Primary>q"/> + <item> + <attribute name="label" translatable="yes">_Quit</attribute> + <attribute name="action">app.quit</attribute> + <attribute name="accel"><Primary>q</attribute> + </item> </section> </submenu> - <submenu label="_View"> + <submenu> + <attribute name="label" translatable="yes">_View</attribute> <section> - <item label="_Stop" action="win.stop"/> - <item label="_Reload" action="win.reload" accel="<Primary>r"/> + <item> + <attribute name="label" translatable="yes">_Stop</attribute> + <attribute name="action">win.stop</attribute> + </item> + <item> + <attribute name="label" translatable="yes">_Reload</attribute> + <attribute name="action">win.reload</attribute> + <attribute name="accel"><Primary>r</attribute> + </item> </section> <section> - <item label="_Toolbar" action="win.show-toolbar"/> + <item> + <attribute name="label" translatable="yes">_Toolbar</attribute> + <attribute name="action">win.show-toolbar</attribute> + </item> </section> <section> - <item label="_Allocated Space" action="win.show-allocated"/> + <item> + <attribute name="label" translatable="yes">_Allocated Space</attribute> + <attribute name="action">win.show-allocated</attribute> + </item> </section> <section> - <item label="_Expand All" action="win.expand-all"/> - <item label="_Collapse All" action="win.collapse-all"/> + <item> + <attribute name="label" translatable="yes">_Expand All</attribute> + <attribute name="action">win.expand-all</attribute> + </item> + <item> + <attribute name="label" translatable="yes">_Collapse All</attribute> + <attribute name="action">win.collapse-all</attribute> + </item> </section> </submenu> - <submenu label="_Help"> + <submenu> + <attribute name="label" translatable="yes">_Help</attribute> <section> - <item label="_Help" action="win.help" accel="F1"/> - <item label="_About" action="win.about"/> + <item> + <attribute name="label" translatable="yes">_Help</attribute> + <attribute name="action">win.help</attribute> + <attribute name="accel">F1</attribute> + </item> + <item> + <attribute name="label" translatable="yes">_About</attribute> + <attribute name="action">win.about</attribute> + </item> </section> </submenu> </menu> |