Avoid potential negative array index access to cached text.
[LibreOffice.git] / basctl / uiconfig / basicide / ui / basicmacrodialog.ui
blobbdece2cca41953414ef6c78973a491826f09d8c5
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Generated with glade 3.36.0 -->
3 <interface domain="basctl">
4 <requires lib="gtk+" version="3.20"/>
5 <object class="GtkTreeStore" id="liststore1">
6 <columns>
7 <!-- column-name expander -->
8 <column type="GdkPixbuf"/>
9 <!-- column-name text -->
10 <column type="gchararray"/>
11 <!-- column-name id -->
12 <column type="gchararray"/>
13 </columns>
14 </object>
15 <object class="GtkTreeStore" id="liststore2">
16 <columns>
17 <!-- column-name text -->
18 <column type="gchararray"/>
19 <!-- column-name id -->
20 <column type="gchararray"/>
21 </columns>
22 </object>
23 <object class="GtkDialog" id="BasicMacroDialog">
24 <property name="can_focus">False</property>
25 <property name="border_width">6</property>
26 <property name="title" translatable="yes" context="basicmacrodialog|BasicMacroDialog">BASIC Macros</property>
27 <property name="modal">True</property>
28 <property name="type_hint">dialog</property>
29 <child internal-child="vbox">
30 <object class="GtkBox" id="dialog-vbox1">
31 <property name="can_focus">False</property>
32 <property name="hexpand">True</property>
33 <property name="vexpand">True</property>
34 <property name="orientation">vertical</property>
35 <property name="spacing">12</property>
36 <child internal-child="action_area">
37 <object class="GtkButtonBox" id="dialog-action_area1">
38 <property name="can_focus">False</property>
39 <property name="homogeneous">True</property>
40 <property name="layout_style">end</property>
41 <child>
42 <object class="GtkButton" id="ok">
43 <property name="label" translatable="yes" context="basicmacrodialog|run">Run</property>
44 <property name="visible">True</property>
45 <property name="can_focus">True</property>
46 <property name="can_default">True</property>
47 <property name="has_default">True</property>
48 <property name="receives_default">True</property>
49 <property name="use_underline">True</property>
50 <child internal-child="accessible">
51 <object class="AtkObject" id="ok-atkobject">
52 <property name="AtkObject::accessible-description" translatable="yes" context="basicmacrodialog|extended_tip|ok">Runs or saves the current macro.</property>
53 </object>
54 </child>
55 </object>
56 <packing>
57 <property name="expand">False</property>
58 <property name="fill">True</property>
59 <property name="position">0</property>
60 </packing>
61 </child>
62 <child>
63 <object class="GtkButton" id="close">
64 <property name="label" translatable="yes" context="stock">_Close</property>
65 <property name="visible">True</property>
66 <property name="can_focus">True</property>
67 <property name="receives_default">True</property>
68 <property name="use-underline">True</property>
69 </object>
70 <packing>
71 <property name="expand">False</property>
72 <property name="fill">True</property>
73 <property name="position">1</property>
74 </packing>
75 </child>
76 <child>
77 <object class="GtkButton" id="help">
78 <property name="label" translatable="yes" context="stock">_Help</property>
79 <property name="visible">True</property>
80 <property name="can_focus">True</property>
81 <property name="receives_default">True</property>
82 <property name="use-underline">True</property>
83 </object>
84 <packing>
85 <property name="expand">False</property>
86 <property name="fill">True</property>
87 <property name="position">8</property>
88 <property name="secondary">True</property>
89 </packing>
90 </child>
91 </object>
92 <packing>
93 <property name="expand">False</property>
94 <property name="fill">True</property>
95 <property name="pack_type">end</property>
96 <property name="position">0</property>
97 </packing>
98 </child>
99 <child>
100 <object class="GtkBox" id="box1">
101 <property name="visible">True</property>
102 <property name="can_focus">False</property>
103 <property name="spacing">12</property>
104 <child>
105 <!-- n-columns=1 n-rows=1 -->
106 <object class="GtkGrid" id="grid1">
107 <property name="visible">True</property>
108 <property name="can_focus">False</property>
109 <property name="hexpand">True</property>
110 <property name="vexpand">True</property>
111 <property name="row_spacing">6</property>
112 <property name="column_spacing">12</property>
113 <child>
114 <object class="GtkFrame" id="frame3">
115 <property name="visible">True</property>
116 <property name="can_focus">False</property>
117 <property name="hexpand">True</property>
118 <property name="vexpand">True</property>
119 <property name="label_xalign">0</property>
120 <property name="shadow_type">none</property>
121 <child>
122 <object class="GtkScrolledWindow">
123 <property name="visible">True</property>
124 <property name="can_focus">True</property>
125 <property name="hexpand">True</property>
126 <property name="vexpand">True</property>
127 <property name="shadow_type">in</property>
128 <property name="margin-start">12</property>
129 <property name="margin-top">6</property>
130 <child>
131 <object class="GtkTreeView" id="macros">
132 <property name="visible">True</property>
133 <property name="can_focus">True</property>
134 <property name="receives_default">True</property>
135 <property name="hexpand">True</property>
136 <property name="vexpand">True</property>
137 <property name="model">liststore2</property>
138 <property name="headers_visible">False</property>
139 <property name="search_column">0</property>
140 <property name="show_expanders">False</property>
141 <child internal-child="selection">
142 <object class="GtkTreeSelection" id="Tree List-selection1"/>
143 </child>
144 <child>
145 <object class="GtkTreeViewColumn" id="treeviewcolumn1">
146 <child>
147 <object class="GtkCellRendererText" id="cellrenderertext1"/>
148 <attributes>
149 <attribute name="text">0</attribute>
150 </attributes>
151 </child>
152 </object>
153 </child>
154 <child internal-child="accessible">
155 <object class="AtkObject" id="macros-atkobject">
156 <property name="AtkObject::accessible-description" translatable="yes" context="basicmacrodialog|extended_tip|macros">Lists the macros that are contained in the module selected in the Macro from list.</property>
157 </object>
158 </child>
159 </object>
160 </child>
161 </object>
162 </child>
163 <child type="label">
164 <object class="GtkLabel" id="existingmacrosft">
165 <property name="visible">True</property>
166 <property name="can_focus">False</property>
167 <property name="label" translatable="yes" context="basicmacrodialog|existingmacrosft">Existing Macros In:</property>
168 <property name="ellipsize">end</property>
169 <attributes>
170 <attribute name="weight" value="bold"/>
171 </attributes>
172 </object>
173 </child>
174 </object>
175 <packing>
176 <property name="left_attach">1</property>
177 <property name="top_attach">1</property>
178 </packing>
179 </child>
180 <child>
181 <object class="GtkFrame" id="frame2">
182 <property name="visible">True</property>
183 <property name="can_focus">False</property>
184 <property name="hexpand">True</property>
185 <property name="vexpand">True</property>
186 <property name="label_xalign">0</property>
187 <property name="shadow_type">none</property>
188 <child>
189 <object class="GtkScrolledWindow">
190 <property name="visible">True</property>
191 <property name="can_focus">True</property>
192 <property name="hexpand">True</property>
193 <property name="vexpand">True</property>
194 <property name="shadow_type">in</property>
195 <property name="margin-start">12</property>
196 <property name="margin-top">6</property>
197 <child>
198 <object class="GtkTreeView" id="libraries">
199 <property name="visible">True</property>
200 <property name="can_focus">True</property>
201 <property name="receives_default">True</property>
202 <property name="hexpand">True</property>
203 <property name="vexpand">True</property>
204 <property name="model">liststore1</property>
205 <property name="headers_visible">False</property>
206 <property name="search_column">1</property>
207 <property name="enable_tree_lines">True</property>
208 <child internal-child="selection">
209 <object class="GtkTreeSelection" id="Macro Library List-selection1"/>
210 </child>
211 <child>
212 <object class="GtkTreeViewColumn" id="treeviewcolumn2">
213 <property name="spacing">6</property>
214 <child>
215 <object class="GtkCellRendererPixbuf" id="cellrenderertext4"/>
216 <attributes>
217 <attribute name="pixbuf">0</attribute>
218 </attributes>
219 </child>
220 <child>
221 <object class="GtkCellRendererText" id="cellrenderertext2"/>
222 <attributes>
223 <attribute name="text">1</attribute>
224 </attributes>
225 </child>
226 </object>
227 </child>
228 <child internal-child="accessible">
229 <object class="AtkObject" id="libraries-atkobject">
230 <property name="AtkObject::accessible-description" translatable="yes" context="basicmacrodialog|extended_tip|libraries">Lists the libraries and the modules where you can open or save your macros. To save a macro with a particular document, open the document, and then open this dialog.</property>
231 </object>
232 </child>
233 </object>
234 </child>
235 </object>
236 </child>
237 <child type="label">
238 <object class="GtkBox" id="box2">
239 <property name="visible">True</property>
240 <property name="can_focus">False</property>
241 <property name="orientation">vertical</property>
242 <child>
243 <object class="GtkLabel" id="macrofromft">
244 <property name="visible">True</property>
245 <property name="can_focus">False</property>
246 <property name="label" translatable="yes" context="basicmacrodialog|macrofromft">Macro From</property>
247 <property name="xalign">0</property>
248 <attributes>
249 <attribute name="weight" value="bold"/>
250 </attributes>
251 </object>
252 <packing>
253 <property name="expand">False</property>
254 <property name="fill">True</property>
255 <property name="position">0</property>
256 </packing>
257 </child>
258 <child>
259 <object class="GtkLabel" id="macrotoft">
260 <property name="visible">True</property>
261 <property name="can_focus">False</property>
262 <property name="label" translatable="yes" context="basicmacrodialog|macrotoft">Save Macro In</property>
263 <property name="xalign">0</property>
264 <attributes>
265 <attribute name="weight" value="bold"/>
266 </attributes>
267 </object>
268 <packing>
269 <property name="expand">False</property>
270 <property name="fill">True</property>
271 <property name="position">1</property>
272 </packing>
273 </child>
274 </object>
275 </child>
276 </object>
277 <packing>
278 <property name="left_attach">0</property>
279 <property name="top_attach">1</property>
280 </packing>
281 </child>
282 <child>
283 <object class="GtkFrame" id="frame1">
284 <property name="visible">True</property>
285 <property name="can_focus">False</property>
286 <property name="label_xalign">0</property>
287 <property name="shadow_type">none</property>
288 <child>
289 <object class="GtkEntry" id="macronameedit">
290 <property name="visible">True</property>
291 <property name="can_focus">True</property>
292 <property name="hexpand">True</property>
293 <property name="activates_default">True</property>
294 <property name="margin-start">12</property>
295 <property name="margin-top">6</property>
296 <property name="truncate-multiline">True</property>
297 <child internal-child="accessible">
298 <object class="AtkObject" id="macronameedit-atkobject">
299 <property name="AtkObject::accessible-description" translatable="yes" context="basicmacrodialog|extended_tip|macronameedit">Displays the name of the selected macro. To create or to change the name of a macro, enter a name here.</property>
300 </object>
301 </child>
302 </object>
303 </child>
304 <child type="label">
305 <object class="GtkLabel" id="libraryft1">
306 <property name="visible">True</property>
307 <property name="can_focus">False</property>
308 <property name="label" translatable="yes" context="basicmacrodialog|libraryft1">Macro Name</property>
309 <attributes>
310 <attribute name="weight" value="bold"/>
311 </attributes>
312 </object>
313 </child>
314 </object>
315 <packing>
316 <property name="left_attach">0</property>
317 <property name="top_attach">0</property>
318 </packing>
319 </child>
320 <child>
321 <object class="GtkButtonBox" id="buttonbox1">
322 <property name="visible">True</property>
323 <property name="can_focus">False</property>
324 <property name="orientation">vertical</property>
325 <property name="spacing">5</property>
326 <property name="homogeneous">True</property>
327 <property name="layout_style">start</property>
328 <child>
329 <object class="GtkButton" id="assign">
330 <property name="label" translatable="yes" context="basicmacrodialog|assign">Assign...</property>
331 <property name="visible">True</property>
332 <property name="can_focus">True</property>
333 <property name="receives_default">True</property>
334 <property name="use_underline">True</property>
335 <child internal-child="accessible">
336 <object class="AtkObject" id="assign-atkobject">
337 <property name="AtkObject::accessible-description" translatable="yes" context="basicmacrodialog|extended_tip|assign">Opens the Customize dialog, where you can assign the selected macro to a menu command, a toolbar, or an event.</property>
338 </object>
339 </child>
340 </object>
341 <packing>
342 <property name="expand">False</property>
343 <property name="fill">True</property>
344 <property name="position">0</property>
345 </packing>
346 </child>
347 <child>
348 <object class="GtkButton" id="edit">
349 <property name="label" translatable="yes" context="basicmacrodialog|edit">Edit</property>
350 <property name="visible">True</property>
351 <property name="can_focus">True</property>
352 <property name="receives_default">True</property>
353 <property name="use_underline">True</property>
354 <child internal-child="accessible">
355 <object class="AtkObject" id="edit-atkobject">
356 <property name="AtkObject::accessible-description" translatable="yes" context="basicmacrodialog|extended_tip|edit">Starts the Basic editor and opens the selected macro or dialog for editing.</property>
357 </object>
358 </child>
359 </object>
360 <packing>
361 <property name="expand">False</property>
362 <property name="fill">True</property>
363 <property name="position">1</property>
364 </packing>
365 </child>
366 <child>
367 <object class="GtkButton" id="delete">
368 <property name="label" translatable="yes" context="basicmacrodialog|delete">_Delete</property>
369 <property name="visible">True</property>
370 <property name="can_focus">True</property>
371 <property name="receives_default">True</property>
372 <property name="use_underline">True</property>
373 <child internal-child="accessible">
374 <object class="AtkObject" id="delete-atkobject">
375 <property name="AtkObject::accessible-description" translatable="yes" context="basicmacrodialog|extended_tip|delete">Creates a new macro, creates a new module or deletes the selected macro or selected module.</property>
376 </object>
377 </child>
378 </object>
379 <packing>
380 <property name="expand">False</property>
381 <property name="fill">True</property>
382 <property name="position">2</property>
383 </packing>
384 </child>
385 <child>
386 <object class="GtkButton" id="new">
387 <property name="label" translatable="yes" context="basicmacrodialog|new">_New</property>
388 <property name="can_focus">True</property>
389 <property name="receives_default">True</property>
390 <property name="no_show_all">True</property>
391 <property name="use_underline">True</property>
392 <child internal-child="accessible">
393 <object class="AtkObject" id="new-atkobject">
394 <property name="AtkObject::accessible-description" translatable="yes" context="basicmacrodialog|extended_tip|new">Creates a new library.</property>
395 </object>
396 </child>
397 </object>
398 <packing>
399 <property name="expand">False</property>
400 <property name="fill">True</property>
401 <property name="position">3</property>
402 </packing>
403 </child>
404 <child>
405 <object class="GtkButton" id="organize">
406 <property name="label" translatable="yes" context="basicmacrodialog|organize">Organizer...</property>
407 <property name="visible">True</property>
408 <property name="can_focus">True</property>
409 <property name="receives_default">True</property>
410 <property name="use_underline">True</property>
411 <child internal-child="accessible">
412 <object class="AtkObject" id="organize-atkobject">
413 <property name="AtkObject::accessible-description" translatable="yes" context="basicmacrodialog|extended_tip|organize">Opens the Macro Organizer dialog, where you can add, edit, or delete existing macro modules, dialogs, and libraries.</property>
414 </object>
415 </child>
416 </object>
417 <packing>
418 <property name="expand">False</property>
419 <property name="fill">True</property>
420 <property name="position">4</property>
421 </packing>
422 </child>
423 <child>
424 <object class="GtkButton" id="newlibrary">
425 <property name="label" translatable="yes" context="basicmacrodialog|newlibrary">New Library</property>
426 <property name="can_focus">True</property>
427 <property name="receives_default">True</property>
428 <property name="no_show_all">True</property>
429 <property name="use_underline">True</property>
430 <child internal-child="accessible">
431 <object class="AtkObject" id="newlibrary-atkobject">
432 <property name="AtkObject::accessible-description" translatable="yes" context="basicmacrodialog|extended_tip|newlibrary">Saves the recorded macro in a new library.</property>
433 </object>
434 </child>
435 </object>
436 <packing>
437 <property name="expand">False</property>
438 <property name="fill">True</property>
439 <property name="position">5</property>
440 </packing>
441 </child>
442 <child>
443 <object class="GtkButton" id="newmodule">
444 <property name="label" translatable="yes" context="basicmacrodialog|newmodule">New Module</property>
445 <property name="can_focus">True</property>
446 <property name="receives_default">True</property>
447 <property name="no_show_all">True</property>
448 <property name="use_underline">True</property>
449 <child internal-child="accessible">
450 <object class="AtkObject" id="newmodule-atkobject">
451 <property name="AtkObject::accessible-description" translatable="yes" context="basicmacrodialog|extended_tip|newmodule">Saves the recorded macro in a new module.</property>
452 </object>
453 </child>
454 </object>
455 <packing>
456 <property name="expand">False</property>
457 <property name="fill">True</property>
458 <property name="position">6</property>
459 </packing>
460 </child>
461 </object>
462 <packing>
463 <property name="left_attach">2</property>
464 <property name="top_attach">1</property>
465 </packing>
466 </child>
467 <child>
468 <placeholder/>
469 </child>
470 <child>
471 <placeholder/>
472 </child>
473 </object>
474 <packing>
475 <property name="expand">False</property>
476 <property name="fill">True</property>
477 <property name="position">0</property>
478 </packing>
479 </child>
480 </object>
481 <packing>
482 <property name="expand">True</property>
483 <property name="fill">True</property>
484 <property name="position">1</property>
485 </packing>
486 </child>
487 </object>
488 </child>
489 <action-widgets>
490 <action-widget response="-5">ok</action-widget>
491 <action-widget response="-7">close</action-widget>
492 <action-widget response="-11">help</action-widget>
493 </action-widgets>
494 <child type="titlebar">
495 <placeholder/>
496 </child>
497 <child internal-child="accessible">
498 <object class="AtkObject" id="BasicMacroDialog-atkobject">
499 <property name="AtkObject::accessible-description" translatable="yes" context="basicmacrodialog|extended_tip|BasicMacroDialog">Opens a dialog to organize macros.</property>
500 </object>
501 </child>
502 </object>
503 </interface>