File: menubar.ui

package info (click to toggle)
revelation 0.5.4-2
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 2,184 kB
  • sloc: python: 6,243; xml: 244; makefile: 144; sh: 5
file content (275 lines) | stat: -rw-r--r-- 12,892 bytes parent folder | download | duplicates (2)
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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="revelation">
  <menu id="menubar">
    <submenu id="menu-file">
      <attribute name="label" translatable="yes">_File</attribute>
      <section>
        <item>
          <attribute name="label" translatable="yes">_New</attribute>
          <attribute name="action">file.file-new</attribute>
          <attribute name="accel">&lt;Control&gt;N</attribute>
          <attribute name="tooltip">Create a new file</attribute>
          <attribute name="icon">document-new</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">_Open</attribute>
          <attribute name="action">file.file-open</attribute>
          <attribute name="accel">&lt;Control&gt;O</attribute>
          <attribute name="tooltip">Open a file</attribute>
          <attribute name="icon">document-open</attribute>
        </item>
      </section>
      <section>
        <item>
          <attribute name="label" translatable="yes">_Save</attribute>
          <attribute name="action">file.file-save</attribute>
          <attribute name="accel">&lt;Control&gt;S</attribute>
          <attribute name="tooltip">Save data to a file</attribute>
          <attribute name="icon">document-save</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">Save _as...</attribute>
          <attribute name="action">file.file-save-as</attribute>
          <attribute name="accel">&lt;Control&gt;&lt;Shift&gt;S</attribute>
          <attribute name="tooltip">Save data to a different file</attribute>
          <attribute name="icon">document-save-as</attribute>
        </item>
      </section>
      <section>
        <item>
          <attribute name="label" translatable="yes">Change _Password...</attribute>
          <attribute name="action">file.file-change-password</attribute>
          <attribute name="tooltip">Change password of current file</attribute>
          <attribute name="icon">password-change</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">_Lock</attribute>
          <attribute name="action">file-exists.file-lock</attribute>
          <attribute name="accel">&lt;Control&gt;L</attribute>
          <attribute name="tooltip">Lock the current data file</attribute>
          <attribute name="icon">object-locked</attribute>
        </item>
      </section>
      <section>
        <item>
          <attribute name="label" translatable="yes">_Import</attribute>
          <attribute name="action">file.file-import</attribute>
          <attribute name="tooltip">Import data from a foreign file</attribute>
          <attribute name="icon">document-import</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">_Export</attribute>
          <attribute name="action">file.file-export</attribute>
          <attribute name="tooltip">Export data to a different file format</attribute>
          <attribute name="icon">document-export</attribute>
        </item>
      </section>
      <section>
        <item>
          <attribute name="label" translatable="yes">_Close</attribute>
          <attribute name="action">file.file-close</attribute>
          <attribute name="accel">&lt;Control&gt;W</attribute>
          <attribute name="tooltip">Close the application</attribute>
          <attribute name="icon">window-close</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">_Quit</attribute>
          <attribute name="action">file.quit</attribute>
          <attribute name="accel">&lt;Control&gt;Q</attribute>
          <attribute name="tooltip">Quit the application</attribute>
          <attribute name="icon">application-exit</attribute>
        </item>
      </section>
    </submenu>
    <submenu id="menu-edit">
      <attribute name="label" translatable="yes">_Edit</attribute>
      <section>
        <item>
          <attribute name="label" translatable="yes">_Undo</attribute>
          <attribute name="action">dynamic.undo</attribute>
          <attribute name="accel">&lt;Control&gt;Z</attribute>
          <attribute name="tooltip">Undo the last action</attribute>
          <attribute name="icon">edit-undo</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">_Redo</attribute>
          <attribute name="action">dynamic.redo</attribute>
          <attribute name="accel">&lt;Control&gt;&lt;Shift&gt;Z</attribute>
          <attribute name="tooltip">Redo the previously undone action</attribute>
          <attribute name="icon">edit-redo</attribute>
        </item>
      </section>
      <section>
        <item>
          <attribute name="label" translatable="yes">Cu_t</attribute>
          <attribute name="action">entry-multiple.clip-cut</attribute>
          <attribute name="accel">&lt;Control&gt;X</attribute>
          <attribute name="tooltip">Cut selected entries to the clipboard</attribute>
          <attribute name="icon">edit-cut</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">_Copy</attribute>
          <attribute name="action">entry-multiple.clip-copy</attribute>
          <attribute name="accel">&lt;Control&gt;C</attribute>
          <attribute name="tooltip">Copy selected entries to the clipboard</attribute>
          <attribute name="icon">edit-copy</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">Copy Pass_word</attribute>
          <attribute name="action">entry-multiple.clip-chain</attribute>
          <attribute name="accel">&lt;Control&gt;&lt;Shift&gt;C</attribute>
          <attribute name="tooltip">Copy password to the clipboard</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">_Paste</attribute>
          <attribute name="action">dynamic.clip-paste</attribute>
          <attribute name="accel">&lt;Control&gt;V</attribute>
          <attribute name="tooltip">Paste entry from clipboard</attribute>
          <attribute name="icon">edit-paste</attribute>
        </item>
      </section>
      <section>
        <item>
          <attribute name="label" translatable="yes">_Select All</attribute>
          <attribute name="action">file.select-all</attribute>
          <attribute name="accel">&lt;Control&gt;A</attribute>
          <attribute name="tooltip">Selects all entries</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">_Deselect All</attribute>
          <attribute name="action">file.select-none</attribute>
          <attribute name="accel">&lt;Control&gt;&lt;Shift&gt;A</attribute>
          <attribute name="tooltip">Deselects all entries</attribute>
        </item>
      </section>
      <section>
        <item>
          <attribute name="label" translatable="yes">_Find...</attribute>
          <attribute name="action">file.find</attribute>
          <attribute name="accel">&lt;Control&gt;F</attribute>
          <attribute name="tooltip">Search for an entry</attribute>
          <attribute name="icon">edit-find</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">Find Ne_xt</attribute>
          <attribute name="action">find.find-next</attribute>
          <attribute name="accel">&lt;Control&gt;G</attribute>
          <attribute name="tooltip">Find the next search match</attribute>
          <attribute name="icon">go-next</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">Find Pre_vious</attribute>
          <attribute name="action">find.find-previous</attribute>
          <attribute name="accel">&lt;Control&gt;&lt;Shift&gt;G</attribute>
          <attribute name="tooltip">Find the previous search match</attribute>
          <attribute name="icon">go-previous</attribute>
        </item>
      </section>
      <section>
        <item>
          <attribute name="label" translatable="yes">Prefere_nces</attribute>
          <attribute name="action">file.prefs</attribute>
          <attribute name="tooltip">Edit preferences</attribute>
          <attribute name="icon">preferences-system</attribute>
        </item>
      </section>
    </submenu>
    <submenu id="menu-entry">
      <attribute name="label" translatable="yes">E_ntry</attribute>
      <section>
        <item>
          <attribute name="label" translatable="yes">_Edit</attribute>
          <attribute name="action">entry-single.entry-edit</attribute>
          <attribute name="accel">&lt;Control&gt;Return</attribute>
          <attribute name="tooltip">Edit the selected entry</attribute>
          <attribute name="icon">document-edit</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">Re_move</attribute>
          <attribute name="action">entry-multiple.entry-remove</attribute>
          <attribute name="accel">&lt;Control&gt;Delete</attribute>
          <attribute name="tooltip">Remove the selected entries</attribute>
          <attribute name="icon">edit-delete</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">_Go to</attribute>
          <attribute name="action">dynamic.entry-goto</attribute>
          <attribute name="accel">&lt;Control&gt;&lt;Shift&gt;Return</attribute>
          <attribute name="tooltip">Go to the selected entries</attribute>
          <attribute name="icon">go-jump</attribute>
        </item>
      </section>
      <section>
        <item>
          <attribute name="label" translatable="yes">_Add Entry...</attribute>
          <attribute name="action">entry-optional.entry-add</attribute>
          <attribute name="accel">&lt;Control&gt;Insert</attribute>
          <attribute name="tooltip">Create a new entry</attribute>
          <attribute name="icon">list-add</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">Add _Folder...</attribute>
          <attribute name="action">entry-optional.entry-folder</attribute>
          <attribute name="accel">&lt;Control&gt;&lt;Shift&gt;Insert</attribute>
          <attribute name="tooltip">Create a new folder</attribute>
          <attribute name="icon">folder-new</attribute>
        </item>
      </section>
    </submenu>
    <submenu id="menu-view">
      <attribute name="label" translatable="yes">_View</attribute>
      <section>
        <item>
          <attribute name="label" translatable="yes">_Main Toolbar</attribute>
          <attribute name="action">file.view-toolbar</attribute>
          <attribute name="tooltip">Toggle the main toolbar</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">S_earch Toolbar</attribute>
          <attribute name="action">file.view-searchbar</attribute>
          <attribute name="tooltip">Toggle the search toolbar</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">_Statusbar</attribute>
          <attribute name="action">file.view-statusbar</attribute>
          <attribute name="tooltip">Toggle the statusbar</attribute>
        </item>
      </section>
      <section>
        <item>
          <attribute name="label" translatable="yes">Password _Generator</attribute>
          <attribute name="action">file.pwgenerator</attribute>
          <attribute name="tooltip">Opens a password generator</attribute>
          <attribute name="icon">password-generate</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">Password _Checker</attribute>
          <attribute name="action">file.pwchecker</attribute>
          <attribute name="tooltip">Opens a password checker</attribute>
          <attribute name="icon">password-check</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">Show _Passwords</attribute>
          <attribute name="action">file.view-passwords</attribute>
          <attribute name="accel">&lt;Control&gt;P</attribute>
          <attribute name="tooltip">Toggle display of passwords</attribute>
        </item>
      </section>
    </submenu>
    <submenu id="menu-help">
      <attribute name="label" translatable="yes">_Help</attribute>
      <section>
        <item>
          <attribute name="label" translatable="yes">_About</attribute>
          <attribute name="action">file.help-about</attribute>
          <attribute name="tooltip">About this application</attribute>
          <attribute name="icon">help-about</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute>
          <attribute name="action">win.show-help-overlay</attribute>
        </item>
      </section>
    </submenu>
  </menu>
</interface>