-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaddon-menubar-items.xml
44 lines (41 loc) · 1.5 KB
/
addon-menubar-items.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?xml version="1.0" encoding="UTF-8"?>
<!-- this file requires FlightGear version 2018.2 or newer -->
<!--
2018-12 WARNING:
PUI menu items must have a globally unique label to make bindings work
correctly. Bindings of all items with the same label will be triggered
if any of them is selected from the menu.
-->
<PropertyList>
<meta>
<file-type type="string">FlightGear add-on menu bar items</file-type>
<format-version type="int">1</format-version>
</meta>
<menubar-items>
<menu>
<label>Ramp Marshall</label>
<enabled type="bool">true</enabled>
<item>
<label>Open Config...</label>
<binding>
<command>dialog-show</command>
<dialog-name>ramp-marshall-dialog</dialog-name>
</binding>
</item>
<!--
FOR DEVELOPMENT ONLY!
trigger reload of addon-main.nas
1) This item should be REMOVED for release versions.
2) Ensure the label is unique
3) replace addon ID in <property> to match your addon
-->
<!--item>
<label>Reload</label>
<binding>
<command>property-toggle</command>
<property>/addons/by-id/com.renanmsv.github.rampmarshall/reload</property>
</binding>
</item-->
</menu>
</menubar-items>
</PropertyList>