diff options
author | Thomas White <taw@bitwiz.me.uk> | 2018-04-21 22:31:32 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.me.uk> | 2018-04-22 23:21:12 +0200 |
commit | 3f0ef3ba6d8389a6aaeef7183c2a41b57ba36a8d (patch) | |
tree | 615a8dde8a2c49241b8c33e5e9737d939de2321a /data/menus.ui | |
parent | 77adb62d654f88ef46b45f521ca7ceb0ee11a607 (diff) |
Put all menu definitions into one resource
Diffstat (limited to 'data/menus.ui')
-rw-r--r-- | data/menus.ui | 207 |
1 files changed, 207 insertions, 0 deletions
diff --git a/data/menus.ui b/data/menus.ui new file mode 100644 index 0000000..2f587db --- /dev/null +++ b/data/menus.ui @@ -0,0 +1,207 @@ +<?xml version="1.0"?> +<interface> + + <!-- Main menu bar --> + + <menu id='menubar'> + + <submenu> + <attribute name='label' translatable='yes'>File</attribute> + <section> + <item> + <attribute name='label' translatable='yes'>_New</attribute> + <attribute name='action'>app.new</attribute> + <attribute name='accel'><Primary>n</attribute> + </item> + <item> + <attribute name='label' translatable='yes'>_Open...</attribute> + <attribute name='action'>app.open</attribute> + <attribute name='accel'><Primary>o</attribute> + </item> + </section> + <section> + <item> + <attribute name='label' translatable='yes'>_Save</attribute> + <attribute name='action'>win.save</attribute> + <attribute name='accel'><Primary>s</attribute> + </item> + <item> + <attribute name='label' translatable='yes'>Save As...</attribute> + <attribute name='action'>win.saveas</attribute> + </item> + </section> + <section> + <item> + <attribute name='label' translatable='yes'>Print...</attribute> + <attribute name='action'>win.print</attribute> + </item> + <item> + <attribute name='label' translatable='yes'>Export slides as PDF...</attribute> + <attribute name='action'>win.exportpdf</attribute> + </item> + </section> + <section> + <item> + <attribute name='label' translatable='yes'>Load stylesheet...</attribute> + <attribute name='action'>win.loadstyle</attribute> + </item> + <item> + <attribute name='label' translatable='yes'>Save stylesheet...</attribute> + <attribute name='action'>win.savestyle</attribute> + </item> + </section> + <section> + <item> + <attribute name='label' translatable='yes'>_Quit</attribute> + <attribute name='action'>app.quit</attribute> + <attribute name='accel'><Primary>q</attribute> + </item> + </section> + </submenu> + + <submenu> + <attribute name='label' translatable='yes'>Edit</attribute> + <section> + <item> + <attribute name='label' translatable='yes'>Undo</attribute> + <attribute name='action'>win.undo</attribute> + </item> + <item> + <attribute name='label' translatable='yes'>Redo</attribute> + <attribute name='action'>win.redo</attribute> + </item> + </section> + <section> + <item> + <attribute name='label' translatable='yes'>Cut</attribute> + <attribute name='action'>win.cut</attribute> + </item> + <item> + <attribute name='label' translatable='yes'>Copy</attribute> + <attribute name='action'>win.copy</attribute> + </item> + <item> + <attribute name='label' translatable='yes'>Paste</attribute> + <attribute name='action'>win.paste</attribute> + </item> + </section> + <section> + <item> + <attribute name='label' translatable='yes'>Delete frame</attribute> + <attribute name='action'>win.deleteframe</attribute> + </item> + <item> + <attribute name='label' translatable='yes'>Copy Frame</attribute> + <attribute name='action'>win.copyframe</attribute> + </item> + <item> + <attribute name='label' translatable='yes'>Delete slide</attribute> + <attribute name='action'>win.deleteslide</attribute> + </item> + </section> + <section> + <item> + <attribute name='label' translatable='yes'>Edit stylesheet...</attribute> + <attribute name='action'>win.stylesheet</attribute> + </item> + </section> + <section> + <item> + <attribute name='label' translatable='yes'>Preferences</attribute> + <attribute name='action'>app.prefs</attribute> + </item> + </section> + </submenu> + + <submenu> + <attribute name='label' translatable='yes'>Insert</attribute> + <section> + <item> + <attribute name='label' translatable='yes'>Slide</attribute> + <attribute name='action'>win.slide</attribute> + </item> + <item> + <attribute name='label' translatable='yes'>Slide title</attribute> + <attribute name='action'>win.slidetitle</attribute> + </item> + </section> + </submenu> + + <submenu> + <attribute name='label' translatable='yes'>Tools</attribute> + <section> + <item> + <attribute name='label' translatable='yes'>Start slideshow</attribute> + <attribute name='action'>win.startslideshow</attribute> + </item> + <item> + <attribute name='label' translatable='yes'>Start slideshow here</attribute> + <attribute name='action'>win.startslideshowhere</attribute> + </item> + <item> + <attribute name='label' translatable='yes'>Start slideshow without slides</attribute> + <attribute name='action'>win.startslideshownoslides</attribute> + </item> + <item> + <attribute name='label' translatable='yes'>Presentation clock</attribute> + <attribute name='action'>win.clock</attribute> + </item> + <item> + <attribute name='label' translatable='yes'>Test card</attribute> + <attribute name='action'>win.testcard</attribute> + </item> + </section> + </submenu> + + <submenu> + <attribute name='label' translatable='yes'>Help</attribute> + <section> + <item> + <attribute name='label' translatable='yes'>Basic introduction</attribute> + <attribute name='action'>app.intro</attribute> + </item> + <item> + <attribute name='label' translatable='yes'>About</attribute> + <attribute name='action'>win.about</attribute> + </item> + </section> + </submenu> + + </menu> + + <!-- Application menu (only used for some DEs) --> + <menu id='app-menu'> + <section> + <item> + <attribute name='label' translatable='yes'>_New</attribute> + <attribute name='action'>app.new</attribute> + <attribute name='accel'><Primary>n</attribute> + </item> + <item> + <attribute name='label' translatable='yes'>_Open...</attribute> + <attribute name='action'>app.open</attribute> + <attribute name='accel'><Primary>o</attribute> + </item> + <item> + <attribute name='label' translatable='yes'>Preferences</attribute> + <attribute name='action'>app.prefs</attribute> + </item> + </section> + <section> + <item> + <attribute name='label' translatable='yes'>_About</attribute> + <attribute name='action'>app.about</attribute> + </item> + <item> + <attribute name='label' translatable='yes'>Basic introduction</attribute> + <attribute name='action'>app.intro</attribute> + </item> + <item> + <attribute name='label' translatable='yes'>_Quit</attribute> + <attribute name='action'>app.quit</attribute> + <attribute name='accel'><Primary>q</attribute> + </item> + </section> + </menu> + +</interface> |