blob: f9a843e444dae1ae35e9c211fd817afe196d3bc0 (
plain)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
|
<interface>
<menu id="menu">
<section>
<!--<attribute name="display-hint">horizontal-buttons</attribute>-->
<attribute name="label">Edit</attribute>
<item>
<attribute name="label">Cut</attribute>
<attribute name="action">top.cut</attribute>
<attribute name="verb-icon">edit-cut-symbolic</attribute>
</item>
<item>
<attribute name="label">Copy</attribute>
<attribute name="action">top.copy</attribute>
<attribute name="verb-icon">edit-copy-symbolic</attribute>
</item>
<item>
<attribute name="label">Paste</attribute>
<attribute name="action">top.paste</attribute>
<attribute name="verb-icon">edit-paste-symbolic</attribute>
</item>
</section>
<section>
<item>
<attribute name="label">No action</attribute>
<attribute name="action">action1</attribute>
</item>
<item>
<attribute name="label">Toggle</attribute>
<attribute name="action">top.action2</attribute>
<attribute name="hidden-when">action-missing</attribute>
</item>
<item>
<attribute name="label">Another Toggle</attribute>
<attribute name="action">top.action2a</attribute>
</item>
</section>
<section>
<attribute name="label">Middle Section</attribute>
<item>
<attribute name="label">Radio 1</attribute>
<attribute name="action">top.action3</attribute>
<attribute name="target">three</attribute>
</item>
<item>
<attribute name="label">Radio 2</attribute>
<attribute name="action">top.action3</attribute>
<attribute name="target">four</attribute>
</item>
</section>
<submenu>
<attribute name="label">Submenu 1</attribute>
<section>
<attribute name="label">5555</attribute>
<item>
<attribute name="label">Item 5</attribute>
<attribute name="action">top.action5</attribute>
</item>
<item>
<attribute name="label">Item 5a</attribute>
<attribute name="action">top.action5</attribute>
</item>
<item>
<attribute name="label">Item 5b</attribute>
<attribute name="action">top.action5</attribute>
</item>
<section>
<attribute name="display-hint">horizontal-buttons</attribute>
<item>
<attribute name="label">List</attribute>
<attribute name="action">top.set-view</attribute>
<attribute name="target">list</attribute>
<attribute name="verb-icon">view-list-symbolic</attribute>
</item>
<item>
<attribute name="label">Grid</attribute>
<attribute name="action">top.set-view</attribute>
<attribute name="target">grid</attribute>
<attribute name="verb-icon">view-grid-symbolic</attribute>
</item>
</section>
<item>
<attribute name="label">Item 5c</attribute>
<attribute name="action">top.action5</attribute>
</item>
<item>
<attribute name="label">Item 5d</attribute>
<attribute name="action">top.action5</attribute>
</item>
</section>
<section>
<attribute name="display-hint">horizontal-buttons</attribute>
<attribute name="label">Format</attribute>
<item>
<attribute name="label">Bold</attribute>
<attribute name="action">top.bold</attribute>
</item>
<item>
<attribute name="label">Italic</attribute>
<attribute name="action">top.italic</attribute>
<attribute name="verb-icon">format-text-italic-symbolic</attribute>
</item>
<item>
<attribute name="label">Strikethrough</attribute>
<attribute name="action">top.strikethrough</attribute>
<attribute name="verb-icon">format-text-strikethrough-symbolic</attribute>
</item>
<item>
<attribute name="label">Underline</attribute>
<attribute name="action">top.underline</attribute>
<attribute name="verb-icon">format-text-underline-symbolic</attribute>
</item>
</section>
<section>
<attribute name="label">6666</attribute>
<item>
<attribute name="label">Item 6</attribute>
<attribute name="action">top.action6</attribute>
</item>
<item>
<attribute name="label">Item 6a</attribute>
<attribute name="action">top.action6</attribute>
</item>
<item>
<attribute name="label">Item 6b</attribute>
<attribute name="action">top.action6</attribute>
</item>
<item>
<attribute name="label">Item 6c</attribute>
<attribute name="action">top.action6</attribute>
</item>
<item>
<attribute name="label">Item 6d</attribute>
<attribute name="action">top.action6</attribute>
</item>
</section>
</submenu>
<submenu>
<attribute name="label">Submenu 2</attribute>
<item>
<attribute name="label">Item 7</attribute>
<attribute name="action">top.action7</attribute>
</item>
<submenu>
<attribute name="label">Subsubmenu</attribute>
<attribute name="icon">preferences-desktop-font</attribute>
<item>
<attribute name="label">Item 8</attribute>
<attribute name="action">action8</attribute>
</item>
<section>
<item>
<attribute name="label">Item 9</attribute>
<attribute name="action">top.action9</attribute>
</item>
<item>
<attribute name="label">Item 10</attribute>
<attribute name="action">top.action10</attribute>
</item>
</section>
</submenu>
</submenu>
<section>
<attribute name="label">End Section</attribute>
<item>
<attribute name="label">Another Item 9</attribute>
<attribute name="action">top.action9</attribute>
<attribute name="icon">preferences-desktop-font</attribute>
</item>
<item>
<attribute name="label">Another Item 10</attribute>
<attribute name="action">top.action10</attribute>
</item>
</section>
</menu>
</interface>
|