Put all menu definitions into one resource
[colloquium.git] / data / menus.ui
1 <?xml version="1.0"?>
2 <interface>
3
4   <!-- Main menu bar -->
5
6   <menu id='menubar'>
7
8     <submenu>
9       <attribute name='label' translatable='yes'>File</attribute>
10       <section>
11         <item>
12           <attribute name='label' translatable='yes'>_New</attribute>
13           <attribute name='action'>app.new</attribute>
14           <attribute name='accel'>&lt;Primary&gt;n</attribute>
15         </item>
16         <item>
17           <attribute name='label' translatable='yes'>_Open...</attribute>
18           <attribute name='action'>app.open</attribute>
19           <attribute name='accel'>&lt;Primary&gt;o</attribute>
20         </item>
21       </section>
22       <section>
23         <item>
24           <attribute name='label' translatable='yes'>_Save</attribute>
25           <attribute name='action'>win.save</attribute>
26           <attribute name='accel'>&lt;Primary&gt;s</attribute>
27         </item>
28         <item>
29           <attribute name='label' translatable='yes'>Save As...</attribute>
30           <attribute name='action'>win.saveas</attribute>
31         </item>
32       </section>
33       <section>
34         <item>
35           <attribute name='label' translatable='yes'>Print...</attribute>
36           <attribute name='action'>win.print</attribute>
37         </item>
38         <item>
39           <attribute name='label' translatable='yes'>Export slides as PDF...</attribute>
40           <attribute name='action'>win.exportpdf</attribute>
41         </item>
42       </section>
43       <section>
44         <item>
45           <attribute name='label' translatable='yes'>Load stylesheet...</attribute>
46           <attribute name='action'>win.loadstyle</attribute>
47         </item>
48         <item>
49           <attribute name='label' translatable='yes'>Save stylesheet...</attribute>
50           <attribute name='action'>win.savestyle</attribute>
51         </item>
52       </section>
53       <section>
54         <item>
55           <attribute name='label' translatable='yes'>_Quit</attribute>
56           <attribute name='action'>app.quit</attribute>
57           <attribute name='accel'>&lt;Primary&gt;q</attribute>
58         </item>
59       </section>
60     </submenu>
61
62     <submenu>
63       <attribute name='label' translatable='yes'>Edit</attribute>
64       <section>
65         <item>
66           <attribute name='label' translatable='yes'>Undo</attribute>
67           <attribute name='action'>win.undo</attribute>
68         </item>
69         <item>
70           <attribute name='label' translatable='yes'>Redo</attribute>
71           <attribute name='action'>win.redo</attribute>
72         </item>
73       </section>
74       <section>
75         <item>
76           <attribute name='label' translatable='yes'>Cut</attribute>
77           <attribute name='action'>win.cut</attribute>
78         </item>
79         <item>
80           <attribute name='label' translatable='yes'>Copy</attribute>
81           <attribute name='action'>win.copy</attribute>
82         </item>
83         <item>
84           <attribute name='label' translatable='yes'>Paste</attribute>
85           <attribute name='action'>win.paste</attribute>
86         </item>
87       </section>
88       <section>
89         <item>
90           <attribute name='label' translatable='yes'>Delete frame</attribute>
91           <attribute name='action'>win.deleteframe</attribute>
92         </item>
93         <item>
94           <attribute name='label' translatable='yes'>Copy Frame</attribute>
95           <attribute name='action'>win.copyframe</attribute>
96         </item>
97         <item>
98           <attribute name='label' translatable='yes'>Delete slide</attribute>
99           <attribute name='action'>win.deleteslide</attribute>
100         </item>
101       </section>
102       <section>
103         <item>
104           <attribute name='label' translatable='yes'>Edit stylesheet...</attribute>
105           <attribute name='action'>win.stylesheet</attribute>
106         </item>
107       </section>
108       <section>
109         <item>
110           <attribute name='label' translatable='yes'>Preferences</attribute>
111           <attribute name='action'>app.prefs</attribute>
112         </item>
113       </section>
114     </submenu>
115
116     <submenu>
117       <attribute name='label' translatable='yes'>Insert</attribute>
118       <section>
119         <item>
120           <attribute name='label' translatable='yes'>Slide</attribute>
121           <attribute name='action'>win.slide</attribute>
122         </item>
123         <item>
124           <attribute name='label' translatable='yes'>Slide title</attribute>
125           <attribute name='action'>win.slidetitle</attribute>
126         </item>
127       </section>
128     </submenu>
129
130     <submenu>
131       <attribute name='label' translatable='yes'>Tools</attribute>
132       <section>
133         <item>
134           <attribute name='label' translatable='yes'>Start slideshow</attribute>
135           <attribute name='action'>win.startslideshow</attribute>
136         </item>
137         <item>
138           <attribute name='label' translatable='yes'>Start slideshow here</attribute>
139           <attribute name='action'>win.startslideshowhere</attribute>
140         </item>
141         <item>
142           <attribute name='label' translatable='yes'>Start slideshow without slides</attribute>
143           <attribute name='action'>win.startslideshownoslides</attribute>
144         </item>
145         <item>
146           <attribute name='label' translatable='yes'>Presentation clock</attribute>
147           <attribute name='action'>win.clock</attribute>
148         </item>
149         <item>
150           <attribute name='label' translatable='yes'>Test card</attribute>
151           <attribute name='action'>win.testcard</attribute>
152         </item>
153       </section>
154     </submenu>
155
156     <submenu>
157       <attribute name='label' translatable='yes'>Help</attribute>
158       <section>
159         <item>
160           <attribute name='label' translatable='yes'>Basic introduction</attribute>
161           <attribute name='action'>app.intro</attribute>
162         </item>
163         <item>
164           <attribute name='label' translatable='yes'>About</attribute>
165           <attribute name='action'>win.about</attribute>
166         </item>
167       </section>
168     </submenu>
169
170   </menu>
171
172   <!-- Application menu (only used for some DEs) -->
173   <menu id='app-menu'>
174     <section>
175       <item>
176         <attribute name='label' translatable='yes'>_New</attribute>
177         <attribute name='action'>app.new</attribute>
178         <attribute name='accel'>&lt;Primary&gt;n</attribute>
179       </item>
180       <item>
181         <attribute name='label' translatable='yes'>_Open...</attribute>
182         <attribute name='action'>app.open</attribute>
183         <attribute name='accel'>&lt;Primary&gt;o</attribute>
184       </item>
185       <item>
186         <attribute name='label' translatable='yes'>Preferences</attribute>
187         <attribute name='action'>app.prefs</attribute>
188       </item>
189     </section>
190     <section>
191       <item>
192         <attribute name='label' translatable='yes'>_About</attribute>
193         <attribute name='action'>app.about</attribute>
194       </item>
195       <item>
196         <attribute name='label' translatable='yes'>Basic introduction</attribute>
197         <attribute name='action'>app.intro</attribute>
198       </item>
199       <item>
200         <attribute name='label' translatable='yes'>_Quit</attribute>
201         <attribute name='action'>app.quit</attribute>
202         <attribute name='accel'>&lt;Primary&gt;q</attribute>
203       </item>
204     </section>
205   </menu>
206
207 </interface>