aboutsummaryrefslogtreecommitdiff
path: root/contrib/gnunet_setup_gns_edit_ns.glade
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gnunet_setup_gns_edit_ns.glade')
-rw-r--r--contrib/gnunet_setup_gns_edit_ns.glade596
1 files changed, 596 insertions, 0 deletions
diff --git a/contrib/gnunet_setup_gns_edit_ns.glade b/contrib/gnunet_setup_gns_edit_ns.glade
new file mode 100644
index 00000000..500264ed
--- /dev/null
+++ b/contrib/gnunet_setup_gns_edit_ns.glade
@@ -0,0 +1,596 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<interface>
3 <requires lib="gtk+" version="2.24"/>
4 <!-- interface-naming-policy project-wide -->
5 <object class="GtkAdjustment" id="absolute_expiration_hours_adjustment">
6 <property name="upper">23</property>
7 <property name="step_increment">1</property>
8 <property name="page_increment">12</property>
9 </object>
10 <object class="GtkAdjustment" id="absolute_expiration_minutes_adjustment">
11 <property name="upper">59</property>
12 <property name="step_increment">1</property>
13 <property name="page_increment">10</property>
14 </object>
15 <object class="GtkAdjustment" id="absolute_expiration_seconds_adjustment">
16 <property name="upper">100</property>
17 <property name="step_increment">1</property>
18 <property name="page_increment">10</property>
19 </object>
20 <object class="GtkListStore" id="edit_dialog_expiration_relative_liststore">
21 <columns>
22 <!-- column-name relativetime -->
23 <column type="gchararray"/>
24 </columns>
25 <data>
26 <row>
27 <col id="0">7 days</col>
28 </row>
29 <row>
30 <col id="0">1 day</col>
31 </row>
32 <row>
33 <col id="0">1 h</col>
34 </row>
35 </data>
36 </object>
37 <object class="GtkListStore" id="zone_liststore">
38 <columns>
39 <!-- column-name zonename -->
40 <column type="gchararray"/>
41 <!-- column-name optionname -->
42 <column type="gchararray"/>
43 </columns>
44 <data>
45 <row>
46 <col id="0" translatable="yes">Master Zone</col>
47 <col id="1">ZONEKEY</col>
48 </row>
49 <row>
50 <col id="0" translatable="yes">Private Zone</col>
51 <col id="1">PRIVATE_ZONEKEY</col>
52 </row>
53 <row>
54 <col id="0" translatable="yes">Shorten Zone</col>
55 <col id="1">SHORTEN_ZONEKEY</col>
56 </row>
57 </data>
58 </object>
59 <object class="GtkDialog" id="edit_ns_dialog">
60 <property name="can_focus">False</property>
61 <property name="border_width">5</property>
62 <property name="modal">True</property>
63 <property name="window_position">center-on-parent</property>
64 <property name="destroy_with_parent">True</property>
65 <property name="type_hint">dialog</property>
66 <signal name="response" handler="GNS_edit_a_dialog_response_cb" swapped="no"/>
67 <child internal-child="vbox">
68 <object class="GtkVBox" id="edit_dialog_vbox">
69 <property name="visible">True</property>
70 <property name="can_focus">False</property>
71 <property name="spacing">2</property>
72 <child internal-child="action_area">
73 <object class="GtkHButtonBox" id="edit_dialog_action_area">
74 <property name="visible">True</property>
75 <property name="can_focus">False</property>
76 <property name="layout_style">end</property>
77 <child>
78 <object class="GtkButton" id="edit_dialog_cancel_button">
79 <property name="label">gtk-cancel</property>
80 <property name="use_action_appearance">False</property>
81 <property name="visible">True</property>
82 <property name="can_focus">True</property>
83 <property name="receives_default">True</property>
84 <property name="use_stock">True</property>
85 </object>
86 <packing>
87 <property name="expand">False</property>
88 <property name="fill">False</property>
89 <property name="position">0</property>
90 </packing>
91 </child>
92 <child>
93 <object class="GtkButton" id="edit_dialog_delete_button">
94 <property name="label">gtk-delete</property>
95 <property name="use_action_appearance">False</property>
96 <property name="visible">True</property>
97 <property name="can_focus">True</property>
98 <property name="receives_default">True</property>
99 <property name="use_stock">True</property>
100 </object>
101 <packing>
102 <property name="expand">False</property>
103 <property name="fill">False</property>
104 <property name="position">1</property>
105 </packing>
106 </child>
107 <child>
108 <object class="GtkButton" id="edit_dialog_save_button">
109 <property name="label">gtk-save</property>
110 <property name="use_action_appearance">False</property>
111 <property name="visible">True</property>
112 <property name="can_focus">True</property>
113 <property name="can_default">True</property>
114 <property name="has_default">True</property>
115 <property name="receives_default">True</property>
116 <property name="tooltip_text" translatable="yes">Store the updated record in the database. If the record is public, GNUnet will begin to publish the record to the world, limiting your ability to change it later (based on the selected expiration values).</property>
117 <property name="use_stock">True</property>
118 </object>
119 <packing>
120 <property name="expand">False</property>
121 <property name="fill">False</property>
122 <property name="position">2</property>
123 </packing>
124 </child>
125 </object>
126 <packing>
127 <property name="expand">False</property>
128 <property name="fill">True</property>
129 <property name="pack_type">end</property>
130 <property name="position">0</property>
131 </packing>
132 </child>
133 <child>
134 <object class="GtkFrame" id="edit_dialog_name_frame">
135 <property name="visible">True</property>
136 <property name="can_focus">False</property>
137 <property name="label_xalign">0</property>
138 <property name="shadow_type">none</property>
139 <child>
140 <object class="GtkAlignment" id="edit_dialog_name_alignment">
141 <property name="visible">True</property>
142 <property name="can_focus">False</property>
143 <property name="left_padding">12</property>
144 <child>
145 <object class="GtkHBox" id="edit_dialog_name_hbox">
146 <property name="visible">True</property>
147 <property name="can_focus">False</property>
148 <child>
149 <object class="GtkEntry" id="edit_dialog_name_entry">
150 <property name="visible">True</property>
151 <property name="can_focus">True</property>
152 <property name="tooltip_text" translatable="yes">Name of the record in the zone.</property>
153 <property name="max_length">63</property>
154 <property name="invisible_char">●</property>
155 <property name="primary_icon_activatable">False</property>
156 <property name="secondary_icon_activatable">False</property>
157 <property name="primary_icon_sensitive">True</property>
158 <property name="secondary_icon_sensitive">True</property>
159 <signal name="changed" handler="GNS_edit_dialog_name_entry_changed_cb" swapped="no"/>
160 </object>
161 <packing>
162 <property name="expand">True</property>
163 <property name="fill">True</property>
164 <property name="position">0</property>
165 </packing>
166 </child>
167 <child>
168 <object class="GtkLabel" id="edit_dialog_name_in_zone_label">
169 <property name="visible">True</property>
170 <property name="can_focus">False</property>
171 <property name="label" translatable="yes">in</property>
172 </object>
173 <packing>
174 <property name="expand">False</property>
175 <property name="fill">False</property>
176 <property name="padding">10</property>
177 <property name="position">1</property>
178 </packing>
179 </child>
180 <child>
181 <object class="GtkComboBox" id="edit_dialog_zone_combobox">
182 <property name="visible">True</property>
183 <property name="can_focus">False</property>
184 <property name="tooltip_text" translatable="yes">Select the desired zone for the record. Changing this value here will move the record to the selected zone.</property>
185 <property name="model">zone_liststore</property>
186 <property name="active">0</property>
187 <property name="entry_text_column">0</property>
188 <child>
189 <object class="GtkCellRendererText" id="edit_dialog_zone_combobox_cellrenderertext"/>
190 <attributes>
191 <attribute name="text">0</attribute>
192 </attributes>
193 </child>
194 </object>
195 <packing>
196 <property name="expand">True</property>
197 <property name="fill">True</property>
198 <property name="position">2</property>
199 </packing>
200 </child>
201 </object>
202 </child>
203 </object>
204 </child>
205 <child type="label">
206 <object class="GtkLabel" id="edit_dialog_name_label">
207 <property name="visible">True</property>
208 <property name="can_focus">False</property>
209 <property name="label" translatable="yes">&lt;b&gt;Name&lt;/b&gt;</property>
210 <property name="use_markup">True</property>
211 </object>
212 </child>
213 </object>
214 <packing>
215 <property name="expand">False</property>
216 <property name="fill">False</property>
217 <property name="position">1</property>
218 </packing>
219 </child>
220 <child>
221 <object class="GtkFrame" id="edit_dialog_ns_frame">
222 <property name="visible">True</property>
223 <property name="can_focus">False</property>
224 <property name="label_xalign">0</property>
225 <property name="shadow_type">none</property>
226 <child>
227 <object class="GtkAlignment" id="edit_dialog_ns_alignment">
228 <property name="visible">True</property>
229 <property name="can_focus">False</property>
230 <property name="top_padding">4</property>
231 <property name="left_padding">12</property>
232 <child>
233 <object class="GtkVBox" id="edit_dialog_ns_vbox">
234 <property name="visible">True</property>
235 <property name="can_focus">False</property>
236 <child>
237 <object class="GtkEntry" id="edit_dialog_ns_entry">
238 <property name="visible">True</property>
239 <property name="can_focus">True</property>
240 <property name="has_focus">True</property>
241 <property name="tooltip_text" translatable="yes">Enter the name of the DNS nameserver for the subzone.</property>
242 <property name="max_length">15</property>
243 <property name="invisible_char">●</property>
244 <property name="primary_icon_activatable">False</property>
245 <property name="secondary_icon_activatable">False</property>
246 <property name="primary_icon_sensitive">True</property>
247 <property name="secondary_icon_sensitive">True</property>
248 <signal name="changed" handler="GNS_edit_dialog_a_entry_changed_cb" swapped="no"/>
249 </object>
250 <packing>
251 <property name="expand">False</property>
252 <property name="fill">False</property>
253 <property name="position">0</property>
254 </packing>
255 </child>
256 </object>
257 </child>
258 </object>
259 </child>
260 <child type="label">
261 <object class="GtkLabel" id="edit_dialog_ns_label">
262 <property name="visible">True</property>
263 <property name="can_focus">False</property>
264 <property name="label" translatable="yes">&lt;b&gt;Name of the authoritative name server for the given name&lt;/b&gt;</property>
265 <property name="use_markup">True</property>
266 </object>
267 </child>
268 </object>
269 <packing>
270 <property name="expand">False</property>
271 <property name="fill">False</property>
272 <property name="padding">5</property>
273 <property name="position">2</property>
274 </packing>
275 </child>
276 <child>
277 <object class="GtkFrame" id="edit_dialog_options_frame">
278 <property name="visible">True</property>
279 <property name="can_focus">False</property>
280 <property name="label_xalign">0</property>
281 <property name="shadow_type">none</property>
282 <child>
283 <object class="GtkAlignment" id="edit_dialog_options_alignment">
284 <property name="visible">True</property>
285 <property name="can_focus">False</property>
286 <property name="left_padding">12</property>
287 <child>
288 <object class="GtkVBox" id="edit_dialog_options_vbox">
289 <property name="visible">True</property>
290 <property name="can_focus">False</property>
291 <child>
292 <object class="GtkCheckButton" id="edit_dialog_options_public_checkbutton">
293 <property name="label" translatable="yes">Record is public (visible to other users)</property>
294 <property name="use_action_appearance">False</property>
295 <property name="visible">True</property>
296 <property name="can_focus">True</property>
297 <property name="receives_default">False</property>
298 <property name="tooltip_text" translatable="yes">Not that while it is recommended that 'private' records should be in the 'private zone', you are allowed to mark records in other zones as private as well. Please be aware that once a record is made public, you are less free to change expiration times. Most importantly, if your record is set to never expire, you will never be able to change the mapping in the future if the record is public.</property>
299 <property name="draw_indicator">True</property>
300 </object>
301 <packing>
302 <property name="expand">False</property>
303 <property name="fill">False</property>
304 <property name="position">0</property>
305 </packing>
306 </child>
307 <child>
308 <object class="GtkCheckButton" id="edit_dialog_options_shadow_checkbutton">
309 <property name="label" translatable="yes">Record is a shadow record (valid after other records expire)</property>
310 <property name="use_action_appearance">False</property>
311 <property name="visible">True</property>
312 <property name="can_focus">True</property>
313 <property name="receives_default">False</property>
314 <property name="tooltip_text" translatable="yes">A shadow record is a record which becomes valid in the future. They are not used as long as a second non-expired record with the same name and type exists. This is useful if a mapping is to be changed as soon as an existing record expires. For example, if a users are supposed to switch at midnight from one IP address to another, two records would be placed into the system: one that is valid until midnight, and a second "shadow" record that becomes valid at midnight.</property>
315 <property name="draw_indicator">True</property>
316 </object>
317 <packing>
318 <property name="expand">True</property>
319 <property name="fill">True</property>
320 <property name="position">1</property>
321 </packing>
322 </child>
323 </object>
324 </child>
325 </object>
326 </child>
327 <child type="label">
328 <object class="GtkLabel" id="edit_dialog_options_label">
329 <property name="visible">True</property>
330 <property name="can_focus">False</property>
331 <property name="label" translatable="yes">&lt;b&gt;Options&lt;/b&gt;</property>
332 <property name="use_markup">True</property>
333 </object>
334 </child>
335 </object>
336 <packing>
337 <property name="expand">False</property>
338 <property name="fill">False</property>
339 <property name="position">3</property>
340 </packing>
341 </child>
342 <child>
343 <object class="GtkFrame" id="edit_dialog_expiration_frame">
344 <property name="visible">True</property>
345 <property name="can_focus">False</property>
346 <property name="label_xalign">0</property>
347 <property name="shadow_type">none</property>
348 <child>
349 <object class="GtkAlignment" id="edit_dialog_expiration_alignment">
350 <property name="visible">True</property>
351 <property name="can_focus">False</property>
352 <property name="top_padding">5</property>
353 <property name="bottom_padding">5</property>
354 <property name="left_padding">12</property>
355 <child>
356 <object class="GtkVBox" id="edit_dialog_expiration_vbox">
357 <property name="visible">True</property>
358 <property name="can_focus">False</property>
359 <property name="spacing">5</property>
360 <child>
361 <object class="GtkHBox" id="edit_dialog_expiration_hbox">
362 <property name="visible">True</property>
363 <property name="can_focus">False</property>
364 <child>
365 <object class="GtkRadioButton" id="edit_dialog_expiration_relative_radiobutton">
366 <property name="label" translatable="yes">Relative</property>
367 <property name="use_action_appearance">False</property>
368 <property name="visible">True</property>
369 <property name="can_focus">True</property>
370 <property name="receives_default">False</property>
371 <property name="tooltip_text" translatable="yes">Records with a relative expiration time (such as 1 week) are always valid for at least that time period into the future. In other words, the auto-renew their own expiration to the given time period into the future. When you convert a public record with a relative expiration time to one with an absolute expiration time, the earliest possible expiration will be the respective relative time in the future. Use relative expiration times for entries for which you do not know a specific date when they will expire.</property>
372 <property name="active">True</property>
373 <property name="draw_indicator">True</property>
374 <signal name="toggled" handler="GNS_edit_dialog_expiration_relative_radiobutton_toggled_cb" swapped="no"/>
375 </object>
376 <packing>
377 <property name="expand">False</property>
378 <property name="fill">False</property>
379 <property name="position">0</property>
380 </packing>
381 </child>
382 <child>
383 <object class="GtkRadioButton" id="edit_dialog_expiration_absolute_radiobutton">
384 <property name="label" translatable="yes">Absolute</property>
385 <property name="use_action_appearance">False</property>
386 <property name="visible">True</property>
387 <property name="can_focus">True</property>
388 <property name="receives_default">False</property>
389 <property name="tooltip_text" translatable="yes">Records with an absolute expiration time are valid until the specified date. You can change that date to an even later date, but you cannot set it to an earlier time (as other users may have cached the longer expiration time). Use absolute expiration times if you know that a particular record will only be valid until a particular day.</property>
390 <property name="active">True</property>
391 <property name="draw_indicator">True</property>
392 <property name="group">edit_dialog_expiration_relative_radiobutton</property>
393 <signal name="toggled" handler="GNS_edit_dialog_expiration_absolute_radiobutton_toggled_cb" swapped="no"/>
394 </object>
395 <packing>
396 <property name="expand">False</property>
397 <property name="fill">False</property>
398 <property name="position">1</property>
399 </packing>
400 </child>
401 <child>
402 <object class="GtkRadioButton" id="edit_dialog_expiration_never_radiobutton">
403 <property name="label" translatable="yes">Never</property>
404 <property name="use_action_appearance">False</property>
405 <property name="visible">True</property>
406 <property name="can_focus">True</property>
407 <property name="receives_default">False</property>
408 <property name="tooltip_text" translatable="yes">Records can be set to be valid forever. This is great if you are worried about censorship or certain that the mapping will never change. Note that if you set a public record to never expire, you cannot later change it (as other users are free to cache the old value forever).</property>
409 <property name="active">True</property>
410 <property name="draw_indicator">True</property>
411 <property name="group">edit_dialog_expiration_relative_radiobutton</property>
412 </object>
413 <packing>
414 <property name="expand">False</property>
415 <property name="fill">False</property>
416 <property name="position">2</property>
417 </packing>
418 </child>
419 </object>
420 <packing>
421 <property name="expand">False</property>
422 <property name="fill">False</property>
423 <property name="position">0</property>
424 </packing>
425 </child>
426 <child>
427 <object class="GtkCalendar" id="edit_dialog_expiration_absolute_calendar">
428 <property name="visible">True</property>
429 <property name="can_focus">True</property>
430 <property name="tooltip_text" translatable="yes">Select the date on which you want this record to expire. At that date, you can then create a new mapping or have a shadow record go automatically into effect. Note that for public records you cannot change the expiration time to an earlier date after the fact.</property>
431 <property name="year">2012</property>
432 <property name="month">9</property>
433 <property name="day">17</property>
434 <property name="show_week_numbers">True</property>
435 </object>
436 <packing>
437 <property name="expand">True</property>
438 <property name="fill">True</property>
439 <property name="position">1</property>
440 </packing>
441 </child>
442 <child>
443 <object class="GtkHBox" id="edit_dialog_expiration_absolute_hbox">
444 <property name="visible">True</property>
445 <property name="can_focus">False</property>
446 <child>
447 <object class="GtkLabel" id="edit_dialog_expiration_absolute_hours_label">
448 <property name="visible">True</property>
449 <property name="can_focus">False</property>
450 <property name="label" translatable="yes">Hours:</property>
451 </object>
452 <packing>
453 <property name="expand">False</property>
454 <property name="fill">False</property>
455 <property name="padding">5</property>
456 <property name="position">0</property>
457 </packing>
458 </child>
459 <child>
460 <object class="GtkSpinButton" id="edit_dialog_expiration_absolute_hours_spinbutton">
461 <property name="visible">True</property>
462 <property name="can_focus">True</property>
463 <property name="tooltip_text" translatable="yes">Which hour of the day selected above should the record expire?</property>
464 <property name="max_length">2</property>
465 <property name="invisible_char">●</property>
466 <property name="primary_icon_activatable">False</property>
467 <property name="secondary_icon_activatable">False</property>
468 <property name="primary_icon_sensitive">True</property>
469 <property name="secondary_icon_sensitive">True</property>
470 <property name="adjustment">absolute_expiration_hours_adjustment</property>
471 </object>
472 <packing>
473 <property name="expand">False</property>
474 <property name="fill">False</property>
475 <property name="position">1</property>
476 </packing>
477 </child>
478 <child>
479 <object class="GtkLabel" id="edit_dialog_expiration_absolute_minutes_label">
480 <property name="visible">True</property>
481 <property name="can_focus">False</property>
482 <property name="label" translatable="yes">Minutes:</property>
483 </object>
484 <packing>
485 <property name="expand">False</property>
486 <property name="fill">False</property>
487 <property name="padding">5</property>
488 <property name="position">2</property>
489 </packing>
490 </child>
491 <child>
492 <object class="GtkSpinButton" id="edit_dialog_expiration_absolute_minutes_spinbutton">
493 <property name="visible">True</property>
494 <property name="can_focus">True</property>
495 <property name="tooltip_text" translatable="yes">Which minute of the day selected above should the record expire?</property>
496 <property name="max_length">2</property>
497 <property name="invisible_char">●</property>
498 <property name="primary_icon_activatable">False</property>
499 <property name="secondary_icon_activatable">False</property>
500 <property name="primary_icon_sensitive">True</property>
501 <property name="secondary_icon_sensitive">True</property>
502 <property name="adjustment">absolute_expiration_minutes_adjustment</property>
503 </object>
504 <packing>
505 <property name="expand">False</property>
506 <property name="fill">False</property>
507 <property name="position">3</property>
508 </packing>
509 </child>
510 <child>
511 <object class="GtkLabel" id="edit_dialog_expiration_absolute_seconds_label">
512 <property name="visible">True</property>
513 <property name="can_focus">False</property>
514 <property name="label" translatable="yes">Seconds:</property>
515 </object>
516 <packing>
517 <property name="expand">False</property>
518 <property name="fill">False</property>
519 <property name="padding">5</property>
520 <property name="position">4</property>
521 </packing>
522 </child>
523 <child>
524 <object class="GtkSpinButton" id="edit_dialog_expiration_absolute_seconds_spinbutton">
525 <property name="visible">True</property>
526 <property name="can_focus">True</property>
527 <property name="tooltip_text" translatable="yes">Which second of the day selected above should the record expire?</property>
528 <property name="max_length">2</property>
529 <property name="invisible_char">●</property>
530 <property name="primary_icon_activatable">False</property>
531 <property name="secondary_icon_activatable">False</property>
532 <property name="primary_icon_sensitive">True</property>
533 <property name="secondary_icon_sensitive">True</property>
534 <property name="adjustment">absolute_expiration_seconds_adjustment</property>
535 </object>
536 <packing>
537 <property name="expand">False</property>
538 <property name="fill">False</property>
539 <property name="position">5</property>
540 </packing>
541 </child>
542 </object>
543 <packing>
544 <property name="expand">True</property>
545 <property name="fill">True</property>
546 <property name="position">2</property>
547 </packing>
548 </child>
549 <child>
550 <object class="GtkComboBox" id="edit_dialog_expiration_relative_combobox">
551 <property name="visible">True</property>
552 <property name="can_focus">False</property>
553 <property name="tooltip_text" translatable="yes">Relative expiration time of the record. The syntax is a number followed by a space and a time unit, possibly followed by additional numbers and time units. For example, you can specify "1 d" or "6 h 30 m 15 s". Use the drop-down menu to select from a set of common defaults. (Editing is not possible right now as Gtk2 and Gtk3 use incompatible ways for doing this.) </property>
554 <property name="model">edit_dialog_expiration_relative_liststore</property>
555 <property name="entry_text_column">0</property>
556 <child>
557 <object class="GtkCellRendererText" id="edit_dialog_expiration_relative_combobox_cellrenderertext"/>
558 <attributes>
559 <attribute name="text">0</attribute>
560 </attributes>
561 </child>
562 </object>
563 <packing>
564 <property name="expand">True</property>
565 <property name="fill">True</property>
566 <property name="position">3</property>
567 </packing>
568 </child>
569 </object>
570 </child>
571 </object>
572 </child>
573 <child type="label">
574 <object class="GtkLabel" id="edit_dialog_expiration_label">
575 <property name="visible">True</property>
576 <property name="can_focus">False</property>
577 <property name="label" translatable="yes">&lt;b&gt;Expiration Time&lt;/b&gt;</property>
578 <property name="use_markup">True</property>
579 </object>
580 </child>
581 </object>
582 <packing>
583 <property name="expand">True</property>
584 <property name="fill">True</property>
585 <property name="position">4</property>
586 </packing>
587 </child>
588 </object>
589 </child>
590 <action-widgets>
591 <action-widget response="-6">edit_dialog_cancel_button</action-widget>
592 <action-widget response="-2">edit_dialog_delete_button</action-widget>
593 <action-widget response="-5">edit_dialog_save_button</action-widget>
594 </action-widgets>
595 </object>
596</interface>