jota 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/INSTALL +145 -0
- data/bin/jota +12 -0
- data/bin/jotacli +12 -0
- data/lib/app_error.rb +5 -0
- data/lib/cli.rb +277 -0
- data/lib/clip.rb +137 -0
- data/lib/clip_array.rb +393 -0
- data/lib/gui.rb +792 -0
- data/lib/helper.rb +129 -0
- data/lib/jota.glade +730 -0
- data/lib/jota.rb +176 -0
- data/lib/preferences.rb +83 -0
- data/lib/svn_info.rb +16 -0
- data/lib/version.rb +59 -0
- data/tests/test_all.rb +10 -0
- data/tests/test_clip.rb +172 -0
- data/tests/test_clip_array.rb +177 -0
- data/tests/test_preferences.rb +185 -0
- metadata +81 -0
data/lib/jota.glade
ADDED
@@ -0,0 +1,730 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
|
3
|
+
<!--*- mode: xml -*-->
|
4
|
+
<glade-interface>
|
5
|
+
<widget class="GtkWindow" id="top">
|
6
|
+
<property name="visible">True</property>
|
7
|
+
<property name="title" translatable="yes">jota</property>
|
8
|
+
<property name="default_width">740</property>
|
9
|
+
<property name="default_height">280</property>
|
10
|
+
<signal name="destroy" handler="on_top_destroy"/>
|
11
|
+
<signal name="delete_event" handler="on_top_delete"/>
|
12
|
+
<child>
|
13
|
+
<widget class="GtkVBox" id="vbox">
|
14
|
+
<property name="visible">True</property>
|
15
|
+
<child>
|
16
|
+
<widget class="GtkEventBox" id="eventbox1">
|
17
|
+
<property name="visible">True</property>
|
18
|
+
<child>
|
19
|
+
<widget class="GtkHBox" id="hbox">
|
20
|
+
<property name="visible">True</property>
|
21
|
+
<property name="border_width">3</property>
|
22
|
+
<property name="spacing">6</property>
|
23
|
+
<child>
|
24
|
+
<widget class="GtkButton" id="but_menu">
|
25
|
+
<property name="width_request">50</property>
|
26
|
+
<property name="visible">True</property>
|
27
|
+
<property name="can_focus">True</property>
|
28
|
+
<property name="label" translatable="yes">Menu</property>
|
29
|
+
<property name="use_underline">True</property>
|
30
|
+
<property name="response_id">0</property>
|
31
|
+
<signal name="pressed" handler="on_main_menu_pressed"/>
|
32
|
+
</widget>
|
33
|
+
<packing>
|
34
|
+
<property name="expand">False</property>
|
35
|
+
<property name="fill">False</property>
|
36
|
+
</packing>
|
37
|
+
</child>
|
38
|
+
<child>
|
39
|
+
<widget class="GtkButton" id="but_edit">
|
40
|
+
<property name="width_request">50</property>
|
41
|
+
<property name="visible">True</property>
|
42
|
+
<property name="can_focus">True</property>
|
43
|
+
<property name="label" translatable="yes">Edit</property>
|
44
|
+
<property name="use_underline">True</property>
|
45
|
+
<property name="response_id">0</property>
|
46
|
+
<signal name="pressed" handler="on_edit_menu_pressed"/>
|
47
|
+
</widget>
|
48
|
+
<packing>
|
49
|
+
<property name="expand">False</property>
|
50
|
+
<property name="fill">False</property>
|
51
|
+
<property name="position">1</property>
|
52
|
+
</packing>
|
53
|
+
</child>
|
54
|
+
<child>
|
55
|
+
<widget class="GtkButton" id="but_delete">
|
56
|
+
<property name="width_request">55</property>
|
57
|
+
<property name="visible">True</property>
|
58
|
+
<property name="can_focus">True</property>
|
59
|
+
<property name="label" translatable="yes">Delete</property>
|
60
|
+
<property name="use_underline">True</property>
|
61
|
+
<property name="response_id">0</property>
|
62
|
+
<signal name="clicked" handler="on_delete_clicked"/>
|
63
|
+
</widget>
|
64
|
+
<packing>
|
65
|
+
<property name="expand">False</property>
|
66
|
+
<property name="fill">False</property>
|
67
|
+
<property name="position">2</property>
|
68
|
+
</packing>
|
69
|
+
</child>
|
70
|
+
<child>
|
71
|
+
<widget class="GtkButton" id="but_new">
|
72
|
+
<property name="width_request">50</property>
|
73
|
+
<property name="visible">True</property>
|
74
|
+
<property name="can_focus">True</property>
|
75
|
+
<property name="label" translatable="yes">New</property>
|
76
|
+
<property name="use_underline">True</property>
|
77
|
+
<property name="response_id">0</property>
|
78
|
+
<signal name="clicked" handler="on_new_clicked"/>
|
79
|
+
</widget>
|
80
|
+
<packing>
|
81
|
+
<property name="expand">False</property>
|
82
|
+
<property name="fill">False</property>
|
83
|
+
<property name="position">3</property>
|
84
|
+
</packing>
|
85
|
+
</child>
|
86
|
+
<child>
|
87
|
+
<widget class="GtkButton" id="but_next">
|
88
|
+
<property name="width_request">50</property>
|
89
|
+
<property name="visible">True</property>
|
90
|
+
<property name="can_focus">True</property>
|
91
|
+
<property name="label" translatable="yes">Next</property>
|
92
|
+
<property name="use_underline">True</property>
|
93
|
+
<property name="response_id">0</property>
|
94
|
+
<signal name="clicked" handler="on_next_clicked"/>
|
95
|
+
</widget>
|
96
|
+
<packing>
|
97
|
+
<property name="expand">False</property>
|
98
|
+
<property name="fill">False</property>
|
99
|
+
<property name="position">4</property>
|
100
|
+
</packing>
|
101
|
+
</child>
|
102
|
+
<child>
|
103
|
+
<widget class="GtkButton" id="but_prev">
|
104
|
+
<property name="width_request">50</property>
|
105
|
+
<property name="visible">True</property>
|
106
|
+
<property name="can_focus">True</property>
|
107
|
+
<property name="label" translatable="yes">Prev</property>
|
108
|
+
<property name="use_underline">True</property>
|
109
|
+
<property name="response_id">0</property>
|
110
|
+
<signal name="clicked" handler="on_prev_clicked"/>
|
111
|
+
</widget>
|
112
|
+
<packing>
|
113
|
+
<property name="expand">False</property>
|
114
|
+
<property name="fill">False</property>
|
115
|
+
<property name="position">5</property>
|
116
|
+
</packing>
|
117
|
+
</child>
|
118
|
+
<child>
|
119
|
+
<widget class="GtkLabel" id="label_index">
|
120
|
+
<property name="visible">True</property>
|
121
|
+
<property name="label" translatable="yes">1 of 1</property>
|
122
|
+
</widget>
|
123
|
+
<packing>
|
124
|
+
<property name="expand">False</property>
|
125
|
+
<property name="fill">False</property>
|
126
|
+
<property name="padding">10</property>
|
127
|
+
<property name="position">6</property>
|
128
|
+
</packing>
|
129
|
+
</child>
|
130
|
+
<child>
|
131
|
+
<widget class="GtkLabel" id="status">
|
132
|
+
<property name="visible">True</property>
|
133
|
+
<property name="xpad">10</property>
|
134
|
+
<property name="label" translatable="yes">[w]</property>
|
135
|
+
</widget>
|
136
|
+
<packing>
|
137
|
+
<property name="expand">False</property>
|
138
|
+
<property name="fill">False</property>
|
139
|
+
<property name="pack_type">GTK_PACK_END</property>
|
140
|
+
<property name="position">7</property>
|
141
|
+
</packing>
|
142
|
+
</child>
|
143
|
+
</widget>
|
144
|
+
</child>
|
145
|
+
</widget>
|
146
|
+
<packing>
|
147
|
+
<property name="expand">False</property>
|
148
|
+
<property name="fill">False</property>
|
149
|
+
</packing>
|
150
|
+
</child>
|
151
|
+
<child>
|
152
|
+
<widget class="GtkScrolledWindow" id="clip_scrolledwindow">
|
153
|
+
<property name="visible">True</property>
|
154
|
+
<property name="can_focus">True</property>
|
155
|
+
<property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
|
156
|
+
<property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
|
157
|
+
<property name="shadow_type">GTK_SHADOW_IN</property>
|
158
|
+
<child>
|
159
|
+
<widget class="GtkTextView" id="clip">
|
160
|
+
<property name="visible">True</property>
|
161
|
+
<property name="can_focus">True</property>
|
162
|
+
</widget>
|
163
|
+
</child>
|
164
|
+
</widget>
|
165
|
+
<packing>
|
166
|
+
<property name="position">1</property>
|
167
|
+
</packing>
|
168
|
+
</child>
|
169
|
+
</widget>
|
170
|
+
</child>
|
171
|
+
</widget>
|
172
|
+
<widget class="GtkAboutDialog" id="about_dialog">
|
173
|
+
<property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
|
174
|
+
<property name="program_name">see Gui#set_about_dialog (1)</property>
|
175
|
+
<property name="version">see Gui#set_about_dialog (2)</property>
|
176
|
+
<property name="copyright" translatable="yes">see Gui#set_about_dialog (3)</property>
|
177
|
+
<property name="website">see Gui#set_about_dialog (4)</property>
|
178
|
+
<property name="license">see Gui#set_about_dialog (5)</property>
|
179
|
+
<property name="authors">see Gui#set_about_dialog (6)</property>
|
180
|
+
<property name="translator_credits" translatable="yes" comments="TRANSLATORS: Replace this string with your names, one name per line.">translator-credits</property>
|
181
|
+
<signal name="delete_event" handler="on_dialog_delete"/>
|
182
|
+
<child internal-child="vbox">
|
183
|
+
<widget class="GtkVBox" id="dialog-vbox1">
|
184
|
+
<child internal-child="action_area">
|
185
|
+
<widget class="GtkHButtonBox" id="dialog-action_area1">
|
186
|
+
</widget>
|
187
|
+
<packing>
|
188
|
+
<property name="expand">False</property>
|
189
|
+
<property name="pack_type">GTK_PACK_END</property>
|
190
|
+
</packing>
|
191
|
+
</child>
|
192
|
+
</widget>
|
193
|
+
</child>
|
194
|
+
</widget>
|
195
|
+
<widget class="GtkDialog" id="pref_dialog">
|
196
|
+
<property name="title" translatable="yes">Preferences</property>
|
197
|
+
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
|
198
|
+
<signal name="delete_event" handler="on_dialog_delete"/>
|
199
|
+
<child internal-child="vbox">
|
200
|
+
<widget class="GtkVBox" id="dialog-vbox2">
|
201
|
+
<property name="visible">True</property>
|
202
|
+
<child>
|
203
|
+
<widget class="GtkVBox" id="vbox1">
|
204
|
+
<property name="visible">True</property>
|
205
|
+
<property name="spacing">5</property>
|
206
|
+
<child>
|
207
|
+
<widget class="GtkFrame" id="frame_appearance">
|
208
|
+
<property name="visible">True</property>
|
209
|
+
<property name="border_width">3</property>
|
210
|
+
<property name="label_xalign">0</property>
|
211
|
+
<child>
|
212
|
+
<widget class="GtkAlignment" id="alignment1">
|
213
|
+
<property name="visible">True</property>
|
214
|
+
<property name="yscale">0</property>
|
215
|
+
<property name="left_padding">12</property>
|
216
|
+
<child>
|
217
|
+
<widget class="GtkHBox" id="hbox1">
|
218
|
+
<property name="visible">True</property>
|
219
|
+
<property name="border_width">3</property>
|
220
|
+
<property name="spacing">10</property>
|
221
|
+
<child>
|
222
|
+
<widget class="GtkButton" id="but_fgcolor">
|
223
|
+
<property name="width_request">70</property>
|
224
|
+
<property name="visible">True</property>
|
225
|
+
<property name="can_focus">True</property>
|
226
|
+
<property name="label" translatable="yes">FG Color</property>
|
227
|
+
<property name="use_underline">True</property>
|
228
|
+
<property name="response_id">0</property>
|
229
|
+
<signal name="clicked" handler="on_fgcolor"/>
|
230
|
+
</widget>
|
231
|
+
<packing>
|
232
|
+
<property name="expand">False</property>
|
233
|
+
<property name="fill">False</property>
|
234
|
+
</packing>
|
235
|
+
</child>
|
236
|
+
<child>
|
237
|
+
<widget class="GtkButton" id="but_bgcolor">
|
238
|
+
<property name="width_request">70</property>
|
239
|
+
<property name="visible">True</property>
|
240
|
+
<property name="can_focus">True</property>
|
241
|
+
<property name="label" translatable="yes">BG Color</property>
|
242
|
+
<property name="use_underline">True</property>
|
243
|
+
<property name="response_id">0</property>
|
244
|
+
<signal name="clicked" handler="on_bgcolor"/>
|
245
|
+
</widget>
|
246
|
+
<packing>
|
247
|
+
<property name="expand">False</property>
|
248
|
+
<property name="fill">False</property>
|
249
|
+
<property name="position">1</property>
|
250
|
+
</packing>
|
251
|
+
</child>
|
252
|
+
<child>
|
253
|
+
<widget class="GtkButton" id="but_font">
|
254
|
+
<property name="width_request">70</property>
|
255
|
+
<property name="visible">True</property>
|
256
|
+
<property name="can_focus">True</property>
|
257
|
+
<property name="label" translatable="yes">Font</property>
|
258
|
+
<property name="use_underline">True</property>
|
259
|
+
<property name="response_id">0</property>
|
260
|
+
<signal name="clicked" handler="on_font"/>
|
261
|
+
</widget>
|
262
|
+
<packing>
|
263
|
+
<property name="expand">False</property>
|
264
|
+
<property name="fill">False</property>
|
265
|
+
<property name="position">2</property>
|
266
|
+
</packing>
|
267
|
+
</child>
|
268
|
+
<child>
|
269
|
+
<widget class="GtkEntry" id="entry_sample">
|
270
|
+
<property name="width_request">200</property>
|
271
|
+
<property name="visible">True</property>
|
272
|
+
<property name="can_focus">True</property>
|
273
|
+
<property name="invisible_char">•</property>
|
274
|
+
<property name="text" translatable="yes">Sample Text</property>
|
275
|
+
</widget>
|
276
|
+
<packing>
|
277
|
+
<property name="expand">False</property>
|
278
|
+
<property name="fill">False</property>
|
279
|
+
<property name="position">3</property>
|
280
|
+
</packing>
|
281
|
+
</child>
|
282
|
+
<child>
|
283
|
+
<widget class="GtkLabel" id="label10">
|
284
|
+
<property name="visible">True</property>
|
285
|
+
</widget>
|
286
|
+
<packing>
|
287
|
+
<property name="position">4</property>
|
288
|
+
</packing>
|
289
|
+
</child>
|
290
|
+
</widget>
|
291
|
+
</child>
|
292
|
+
</widget>
|
293
|
+
</child>
|
294
|
+
<child>
|
295
|
+
<widget class="GtkLabel" id="label1">
|
296
|
+
<property name="visible">True</property>
|
297
|
+
<property name="label" translatable="yes">Appearance</property>
|
298
|
+
<property name="use_markup">True</property>
|
299
|
+
</widget>
|
300
|
+
<packing>
|
301
|
+
<property name="type">label_item</property>
|
302
|
+
</packing>
|
303
|
+
</child>
|
304
|
+
</widget>
|
305
|
+
</child>
|
306
|
+
<child>
|
307
|
+
<widget class="GtkFrame" id="frame_autosave">
|
308
|
+
<property name="visible">True</property>
|
309
|
+
<property name="border_width">3</property>
|
310
|
+
<property name="label_xalign">0</property>
|
311
|
+
<child>
|
312
|
+
<widget class="GtkAlignment" id="alignment3">
|
313
|
+
<property name="visible">True</property>
|
314
|
+
<property name="yscale">0</property>
|
315
|
+
<property name="left_padding">12</property>
|
316
|
+
<child>
|
317
|
+
<widget class="GtkVBox" id="vbox3">
|
318
|
+
<property name="visible">True</property>
|
319
|
+
<property name="spacing">5</property>
|
320
|
+
<child>
|
321
|
+
<widget class="GtkHBox" id="hbox3">
|
322
|
+
<property name="visible">True</property>
|
323
|
+
<property name="spacing">10</property>
|
324
|
+
<child>
|
325
|
+
<widget class="GtkCheckButton" id="pref_autosave_enable">
|
326
|
+
<property name="visible">True</property>
|
327
|
+
<property name="can_focus">True</property>
|
328
|
+
<property name="label" translatable="yes">Save All Clips Every</property>
|
329
|
+
<property name="use_underline">True</property>
|
330
|
+
<property name="response_id">0</property>
|
331
|
+
<property name="draw_indicator">True</property>
|
332
|
+
</widget>
|
333
|
+
<packing>
|
334
|
+
<property name="expand">False</property>
|
335
|
+
<property name="fill">False</property>
|
336
|
+
</packing>
|
337
|
+
</child>
|
338
|
+
<child>
|
339
|
+
<widget class="GtkEntry" id="pref_autosave_minutes">
|
340
|
+
<property name="width_request">40</property>
|
341
|
+
<property name="visible">True</property>
|
342
|
+
<property name="can_focus">True</property>
|
343
|
+
<property name="invisible_char">•</property>
|
344
|
+
</widget>
|
345
|
+
<packing>
|
346
|
+
<property name="expand">False</property>
|
347
|
+
<property name="position">1</property>
|
348
|
+
</packing>
|
349
|
+
</child>
|
350
|
+
<child>
|
351
|
+
<widget class="GtkLabel" id="label8">
|
352
|
+
<property name="visible">True</property>
|
353
|
+
<property name="label" translatable="yes">Minutes</property>
|
354
|
+
</widget>
|
355
|
+
<packing>
|
356
|
+
<property name="expand">False</property>
|
357
|
+
<property name="fill">False</property>
|
358
|
+
<property name="position">2</property>
|
359
|
+
</packing>
|
360
|
+
</child>
|
361
|
+
</widget>
|
362
|
+
</child>
|
363
|
+
<child>
|
364
|
+
<widget class="GtkHBox" id="hbox4">
|
365
|
+
<property name="visible">True</property>
|
366
|
+
<property name="spacing">10</property>
|
367
|
+
<child>
|
368
|
+
<widget class="GtkCheckButton" id="pref_deletesave_enable">
|
369
|
+
<property name="visible">True</property>
|
370
|
+
<property name="can_focus">True</property>
|
371
|
+
<property name="label" translatable="yes">Save Deleted Clips To File</property>
|
372
|
+
<property name="use_underline">True</property>
|
373
|
+
<property name="response_id">0</property>
|
374
|
+
<property name="draw_indicator">True</property>
|
375
|
+
</widget>
|
376
|
+
<packing>
|
377
|
+
<property name="expand">False</property>
|
378
|
+
<property name="fill">False</property>
|
379
|
+
</packing>
|
380
|
+
</child>
|
381
|
+
<child>
|
382
|
+
<widget class="GtkEntry" id="pref_deletesave_file">
|
383
|
+
<property name="visible">True</property>
|
384
|
+
<property name="can_focus">True</property>
|
385
|
+
</widget>
|
386
|
+
<packing>
|
387
|
+
<property name="position">1</property>
|
388
|
+
</packing>
|
389
|
+
</child>
|
390
|
+
<child>
|
391
|
+
<widget class="GtkLabel" id="label12">
|
392
|
+
<property name="width_request">10</property>
|
393
|
+
<property name="visible">True</property>
|
394
|
+
</widget>
|
395
|
+
<packing>
|
396
|
+
<property name="expand">False</property>
|
397
|
+
<property name="fill">False</property>
|
398
|
+
<property name="position">2</property>
|
399
|
+
</packing>
|
400
|
+
</child>
|
401
|
+
</widget>
|
402
|
+
<packing>
|
403
|
+
<property name="position">1</property>
|
404
|
+
</packing>
|
405
|
+
</child>
|
406
|
+
</widget>
|
407
|
+
</child>
|
408
|
+
</widget>
|
409
|
+
</child>
|
410
|
+
<child>
|
411
|
+
<widget class="GtkLabel" id="label3">
|
412
|
+
<property name="visible">True</property>
|
413
|
+
<property name="label" translatable="yes">Autosave</property>
|
414
|
+
<property name="use_markup">True</property>
|
415
|
+
</widget>
|
416
|
+
<packing>
|
417
|
+
<property name="type">label_item</property>
|
418
|
+
</packing>
|
419
|
+
</child>
|
420
|
+
</widget>
|
421
|
+
<packing>
|
422
|
+
<property name="position">1</property>
|
423
|
+
</packing>
|
424
|
+
</child>
|
425
|
+
<child>
|
426
|
+
<widget class="GtkFrame" id="frame_confirm">
|
427
|
+
<property name="visible">True</property>
|
428
|
+
<property name="border_width">3</property>
|
429
|
+
<property name="label_xalign">0</property>
|
430
|
+
<child>
|
431
|
+
<widget class="GtkAlignment" id="alignment4">
|
432
|
+
<property name="visible">True</property>
|
433
|
+
<property name="yscale">0</property>
|
434
|
+
<property name="left_padding">12</property>
|
435
|
+
<child>
|
436
|
+
<widget class="GtkHBox" id="hbox7">
|
437
|
+
<property name="visible">True</property>
|
438
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
439
|
+
<property name="spacing">10</property>
|
440
|
+
<child>
|
441
|
+
<widget class="GtkCheckButton" id="pref_confirm_delete">
|
442
|
+
<property name="visible">True</property>
|
443
|
+
<property name="can_focus">True</property>
|
444
|
+
<property name="label" translatable="yes">Delete Clip</property>
|
445
|
+
<property name="use_underline">True</property>
|
446
|
+
<property name="response_id">0</property>
|
447
|
+
<property name="draw_indicator">True</property>
|
448
|
+
</widget>
|
449
|
+
<packing>
|
450
|
+
<property name="expand">False</property>
|
451
|
+
<property name="fill">False</property>
|
452
|
+
</packing>
|
453
|
+
</child>
|
454
|
+
<child>
|
455
|
+
<widget class="GtkCheckButton" id="pref_confirm_quit">
|
456
|
+
<property name="visible">True</property>
|
457
|
+
<property name="can_focus">True</property>
|
458
|
+
<property name="label" translatable="yes">Quit</property>
|
459
|
+
<property name="use_underline">True</property>
|
460
|
+
<property name="response_id">0</property>
|
461
|
+
<property name="draw_indicator">True</property>
|
462
|
+
</widget>
|
463
|
+
<packing>
|
464
|
+
<property name="expand">False</property>
|
465
|
+
<property name="fill">False</property>
|
466
|
+
<property name="position">1</property>
|
467
|
+
</packing>
|
468
|
+
</child>
|
469
|
+
</widget>
|
470
|
+
</child>
|
471
|
+
</widget>
|
472
|
+
</child>
|
473
|
+
<child>
|
474
|
+
<widget class="GtkLabel" id="label4">
|
475
|
+
<property name="visible">True</property>
|
476
|
+
<property name="label" translatable="yes">Confirm</property>
|
477
|
+
<property name="use_markup">True</property>
|
478
|
+
</widget>
|
479
|
+
<packing>
|
480
|
+
<property name="type">label_item</property>
|
481
|
+
</packing>
|
482
|
+
</child>
|
483
|
+
</widget>
|
484
|
+
<packing>
|
485
|
+
<property name="position">2</property>
|
486
|
+
</packing>
|
487
|
+
</child>
|
488
|
+
</widget>
|
489
|
+
<packing>
|
490
|
+
<property name="position">2</property>
|
491
|
+
</packing>
|
492
|
+
</child>
|
493
|
+
<child internal-child="action_area">
|
494
|
+
<widget class="GtkHButtonBox" id="dialog-action_area2">
|
495
|
+
<property name="visible">True</property>
|
496
|
+
<property name="layout_style">GTK_BUTTONBOX_END</property>
|
497
|
+
<child>
|
498
|
+
<widget class="GtkButton" id="cancelbutton1">
|
499
|
+
<property name="visible">True</property>
|
500
|
+
<property name="can_focus">True</property>
|
501
|
+
<property name="can_default">True</property>
|
502
|
+
<property name="label">gtk-cancel</property>
|
503
|
+
<property name="use_stock">True</property>
|
504
|
+
<property name="response_id">-6</property>
|
505
|
+
</widget>
|
506
|
+
</child>
|
507
|
+
<child>
|
508
|
+
<widget class="GtkButton" id="okbutton1">
|
509
|
+
<property name="visible">True</property>
|
510
|
+
<property name="can_focus">True</property>
|
511
|
+
<property name="can_default">True</property>
|
512
|
+
<property name="label">gtk-ok</property>
|
513
|
+
<property name="use_stock">True</property>
|
514
|
+
<property name="response_id">-5</property>
|
515
|
+
</widget>
|
516
|
+
<packing>
|
517
|
+
<property name="position">1</property>
|
518
|
+
</packing>
|
519
|
+
</child>
|
520
|
+
</widget>
|
521
|
+
<packing>
|
522
|
+
<property name="expand">False</property>
|
523
|
+
<property name="pack_type">GTK_PACK_END</property>
|
524
|
+
</packing>
|
525
|
+
</child>
|
526
|
+
</widget>
|
527
|
+
</child>
|
528
|
+
</widget>
|
529
|
+
<widget class="GtkFileChooserDialog" id="choose_deleted">
|
530
|
+
<property name="resizable">False</property>
|
531
|
+
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
|
532
|
+
<property name="action">GTK_FILE_CHOOSER_ACTION_SAVE</property>
|
533
|
+
<child internal-child="vbox">
|
534
|
+
<widget class="GtkVBox" id="dialog-vbox3">
|
535
|
+
<property name="visible">True</property>
|
536
|
+
<property name="spacing">24</property>
|
537
|
+
<child internal-child="action_area">
|
538
|
+
<widget class="GtkHButtonBox" id="dialog-action_area3">
|
539
|
+
<property name="visible">True</property>
|
540
|
+
<property name="layout_style">GTK_BUTTONBOX_END</property>
|
541
|
+
<child>
|
542
|
+
<widget class="GtkButton" id="button2">
|
543
|
+
<property name="visible">True</property>
|
544
|
+
<property name="can_focus">True</property>
|
545
|
+
<property name="can_default">True</property>
|
546
|
+
<property name="label">gtk-cancel</property>
|
547
|
+
<property name="use_stock">True</property>
|
548
|
+
<property name="response_id">-6</property>
|
549
|
+
</widget>
|
550
|
+
</child>
|
551
|
+
<child>
|
552
|
+
<widget class="GtkButton" id="button3">
|
553
|
+
<property name="visible">True</property>
|
554
|
+
<property name="can_focus">True</property>
|
555
|
+
<property name="can_default">True</property>
|
556
|
+
<property name="has_default">True</property>
|
557
|
+
<property name="label">gtk-open</property>
|
558
|
+
<property name="use_stock">True</property>
|
559
|
+
<property name="response_id">-5</property>
|
560
|
+
</widget>
|
561
|
+
<packing>
|
562
|
+
<property name="position">1</property>
|
563
|
+
</packing>
|
564
|
+
</child>
|
565
|
+
</widget>
|
566
|
+
<packing>
|
567
|
+
<property name="expand">False</property>
|
568
|
+
<property name="pack_type">GTK_PACK_END</property>
|
569
|
+
</packing>
|
570
|
+
</child>
|
571
|
+
</widget>
|
572
|
+
</child>
|
573
|
+
</widget>
|
574
|
+
<widget class="GtkMenu" id="main_menu">
|
575
|
+
<child>
|
576
|
+
<widget class="GtkImageMenuItem" id="menu_new">
|
577
|
+
<property name="visible">True</property>
|
578
|
+
<property name="label">gtk-new</property>
|
579
|
+
<property name="use_underline">True</property>
|
580
|
+
<property name="use_stock">True</property>
|
581
|
+
<signal name="activate" handler="on_menu_new_activate"/>
|
582
|
+
</widget>
|
583
|
+
</child>
|
584
|
+
<child>
|
585
|
+
<widget class="GtkImageMenuItem" id="menu_open">
|
586
|
+
<property name="visible">True</property>
|
587
|
+
<property name="label">gtk-open</property>
|
588
|
+
<property name="use_underline">True</property>
|
589
|
+
<property name="use_stock">True</property>
|
590
|
+
<signal name="activate" handler="on_menu_open_activate"/>
|
591
|
+
</widget>
|
592
|
+
</child>
|
593
|
+
<child>
|
594
|
+
<widget class="GtkImageMenuItem" id="menu_save">
|
595
|
+
<property name="visible">True</property>
|
596
|
+
<property name="label" translatable="yes">gtk-save</property>
|
597
|
+
<property name="use_underline">True</property>
|
598
|
+
<property name="use_stock">True</property>
|
599
|
+
<signal name="activate" handler="on_menu_save_activate"/>
|
600
|
+
</widget>
|
601
|
+
</child>
|
602
|
+
<child>
|
603
|
+
<widget class="GtkImageMenuItem" id="menu_close">
|
604
|
+
<property name="visible">True</property>
|
605
|
+
<property name="label">gtk-close</property>
|
606
|
+
<property name="use_underline">True</property>
|
607
|
+
<property name="use_stock">True</property>
|
608
|
+
<signal name="activate" handler="on_menu_close_activate"/>
|
609
|
+
</widget>
|
610
|
+
</child>
|
611
|
+
<child>
|
612
|
+
<widget class="GtkSeparatorMenuItem" id="separator5">
|
613
|
+
<property name="visible">True</property>
|
614
|
+
</widget>
|
615
|
+
</child>
|
616
|
+
<child>
|
617
|
+
<widget class="GtkMenuItem" id="menu_goto">
|
618
|
+
<property name="visible">True</property>
|
619
|
+
<property name="label" translatable="yes">_Go To</property>
|
620
|
+
<property name="use_underline">True</property>
|
621
|
+
</widget>
|
622
|
+
</child>
|
623
|
+
<child>
|
624
|
+
<widget class="GtkSeparatorMenuItem" id="seperator8">
|
625
|
+
<property name="visible">True</property>
|
626
|
+
</widget>
|
627
|
+
</child>
|
628
|
+
<child>
|
629
|
+
<widget class="GtkMenuItem" id="menu_export">
|
630
|
+
<property name="visible">True</property>
|
631
|
+
<property name="label" translatable="yes">_Export</property>
|
632
|
+
<property name="use_underline">True</property>
|
633
|
+
<child>
|
634
|
+
<widget class="GtkMenu" id="menu_export_menu">
|
635
|
+
<child>
|
636
|
+
<widget class="GtkMenuItem" id="menu_export_mbox">
|
637
|
+
<property name="visible">True</property>
|
638
|
+
<property name="label" translatable="yes">_Mbox</property>
|
639
|
+
<property name="use_underline">True</property>
|
640
|
+
<signal name="activate" handler="on_menu_export_mbox_activate"/>
|
641
|
+
</widget>
|
642
|
+
</child>
|
643
|
+
<child>
|
644
|
+
<widget class="GtkMenuItem" id="menu_export_yaml">
|
645
|
+
<property name="visible">True</property>
|
646
|
+
<property name="label" translatable="yes">_Yaml</property>
|
647
|
+
<property name="use_underline">True</property>
|
648
|
+
<signal name="activate" handler="on_menu_export_yaml_activate"/>
|
649
|
+
</widget>
|
650
|
+
</child>
|
651
|
+
</widget>
|
652
|
+
</child>
|
653
|
+
</widget>
|
654
|
+
</child>
|
655
|
+
<child>
|
656
|
+
<widget class="GtkMenuItem" id="menu_import">
|
657
|
+
<property name="visible">True</property>
|
658
|
+
<property name="label" translatable="yes">_Import</property>
|
659
|
+
<property name="use_underline">True</property>
|
660
|
+
<child>
|
661
|
+
<widget class="GtkMenu" id="menu_import_menu">
|
662
|
+
<child>
|
663
|
+
<widget class="GtkMenuItem" id="menu_import_mbox">
|
664
|
+
<property name="visible">True</property>
|
665
|
+
<property name="label" translatable="yes">_Mbox</property>
|
666
|
+
<property name="use_underline">True</property>
|
667
|
+
<signal name="activate" handler="on_menu_import_mbox_activate"/>
|
668
|
+
</widget>
|
669
|
+
</child>
|
670
|
+
<child>
|
671
|
+
<widget class="GtkMenuItem" id="menu_import_yaml">
|
672
|
+
<property name="visible">True</property>
|
673
|
+
<property name="label" translatable="yes">_Yaml</property>
|
674
|
+
<property name="use_underline">True</property>
|
675
|
+
<signal name="activate" handler="on_menu_import_yaml_activate"/>
|
676
|
+
</widget>
|
677
|
+
</child>
|
678
|
+
</widget>
|
679
|
+
</child>
|
680
|
+
</widget>
|
681
|
+
</child>
|
682
|
+
<child>
|
683
|
+
<widget class="GtkSeparatorMenuItem" id="separator6">
|
684
|
+
<property name="visible">True</property>
|
685
|
+
</widget>
|
686
|
+
</child>
|
687
|
+
<child>
|
688
|
+
<widget class="GtkImageMenuItem" id="menu_preferences">
|
689
|
+
<property name="visible">True</property>
|
690
|
+
<property name="label">gtk-preferences</property>
|
691
|
+
<property name="use_underline">True</property>
|
692
|
+
<property name="use_stock">True</property>
|
693
|
+
<signal name="activate" handler="on_menu_preferences_activate"/>
|
694
|
+
</widget>
|
695
|
+
</child>
|
696
|
+
<child>
|
697
|
+
<widget class="GtkSeparatorMenuItem" id="separator7">
|
698
|
+
<property name="visible">True</property>
|
699
|
+
</widget>
|
700
|
+
</child>
|
701
|
+
<child>
|
702
|
+
<widget class="GtkImageMenuItem" id="menu_about">
|
703
|
+
<property name="visible">True</property>
|
704
|
+
<property name="label">gtk-about</property>
|
705
|
+
<property name="use_underline">True</property>
|
706
|
+
<property name="use_stock">True</property>
|
707
|
+
<signal name="activate" handler="on_menu_about_activate"/>
|
708
|
+
</widget>
|
709
|
+
</child>
|
710
|
+
<child>
|
711
|
+
<widget class="GtkImageMenuItem" id="menu_quit">
|
712
|
+
<property name="visible">True</property>
|
713
|
+
<property name="label">gtk-quit</property>
|
714
|
+
<property name="use_underline">True</property>
|
715
|
+
<property name="use_stock">True</property>
|
716
|
+
<signal name="activate" handler="on_menu_quit_activate"/>
|
717
|
+
</widget>
|
718
|
+
</child>
|
719
|
+
</widget>
|
720
|
+
<widget class="GtkMenu" id="edit_text_menu">
|
721
|
+
<child>
|
722
|
+
<widget class="GtkCheckMenuItem" id="edit_text_wrap">
|
723
|
+
<property name="visible">True</property>
|
724
|
+
<property name="label" translatable="yes">_Wrap</property>
|
725
|
+
<property name="use_underline">True</property>
|
726
|
+
<signal name="activate" handler="on_edit_text_wrap_activate"/>
|
727
|
+
</widget>
|
728
|
+
</child>
|
729
|
+
</widget>
|
730
|
+
</glade-interface>
|