aboutsummaryrefslogtreecommitdiff
path: root/contrib/gnunet_namestore_edit_tlsa.glade
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-05-14 13:00:06 +0000
committerChristian Grothoff <christian@grothoff.org>2014-05-14 13:00:06 +0000
commitfaefdf2e6abc6dd2f83f627fd6ab6969d5bb2755 (patch)
treec5c6235bd55c34fa11d4c9920c89c544f2fe6edd /contrib/gnunet_namestore_edit_tlsa.glade
parenta0a04c5cc1cca2a04dcf221b0c949d52b3650df0 (diff)
downloadgnunet-gtk-faefdf2e6abc6dd2f83f627fd6ab6969d5bb2755.tar.gz
gnunet-gtk-faefdf2e6abc6dd2f83f627fd6ab6969d5bb2755.zip
adding dialog for tlsa, updating dialog for cert
Diffstat (limited to 'contrib/gnunet_namestore_edit_tlsa.glade')
-rw-r--r--contrib/gnunet_namestore_edit_tlsa.glade885
1 files changed, 885 insertions, 0 deletions
diff --git a/contrib/gnunet_namestore_edit_tlsa.glade b/contrib/gnunet_namestore_edit_tlsa.glade
new file mode 100644
index 00000000..1f975688
--- /dev/null
+++ b/contrib/gnunet_namestore_edit_tlsa.glade
@@ -0,0 +1,885 @@
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="GtkDialog" id="edit_a_dialog">
38 <property name="can_focus">False</property>
39 <property name="border_width">5</property>
40 <property name="modal">True</property>
41 <property name="window_position">center-on-parent</property>
42 <property name="destroy_with_parent">True</property>
43 <property name="type_hint">dialog</property>
44 <child internal-child="vbox">
45 <object class="GtkVBox" id="edit_dialog_vbox">
46 <property name="visible">True</property>
47 <property name="can_focus">False</property>
48 <property name="spacing">2</property>
49 <child internal-child="action_area">
50 <object class="GtkHButtonBox" id="edit_dialog_action_area">
51 <property name="visible">True</property>
52 <property name="can_focus">False</property>
53 <property name="layout_style">end</property>
54 <child>
55 <object class="GtkButton" id="edit_dialog_cancel_button">
56 <property name="label">gtk-cancel</property>
57 <property name="visible">True</property>
58 <property name="can_focus">True</property>
59 <property name="receives_default">True</property>
60 <property name="use_stock">True</property>
61 </object>
62 <packing>
63 <property name="expand">False</property>
64 <property name="fill">False</property>
65 <property name="position">0</property>
66 </packing>
67 </child>
68 <child>
69 <object class="GtkButton" id="edit_dialog_delete_button">
70 <property name="label">gtk-delete</property>
71 <property name="visible">True</property>
72 <property name="can_focus">True</property>
73 <property name="receives_default">True</property>
74 <property name="use_stock">True</property>
75 </object>
76 <packing>
77 <property name="expand">False</property>
78 <property name="fill">False</property>
79 <property name="position">1</property>
80 </packing>
81 </child>
82 <child>
83 <object class="GtkButton" id="edit_dialog_save_button">
84 <property name="label">gtk-save</property>
85 <property name="visible">True</property>
86 <property name="can_focus">True</property>
87 <property name="can_default">True</property>
88 <property name="has_default">True</property>
89 <property name="receives_default">True</property>
90 <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>
91 <property name="use_stock">True</property>
92 </object>
93 <packing>
94 <property name="expand">False</property>
95 <property name="fill">False</property>
96 <property name="position">2</property>
97 </packing>
98 </child>
99 </object>
100 <packing>
101 <property name="expand">False</property>
102 <property name="fill">True</property>
103 <property name="pack_type">end</property>
104 <property name="position">0</property>
105 </packing>
106 </child>
107 <child>
108 <object class="GtkFrame" id="edit_dialog_name_frame">
109 <property name="visible">True</property>
110 <property name="can_focus">False</property>
111 <property name="label_xalign">0</property>
112 <property name="shadow_type">none</property>
113 <child>
114 <object class="GtkAlignment" id="edit_dialog_name_alignment">
115 <property name="visible">True</property>
116 <property name="can_focus">False</property>
117 <property name="left_padding">12</property>
118 <child>
119 <object class="GtkHBox" id="edit_dialog_name_hbox">
120 <property name="visible">True</property>
121 <property name="can_focus">False</property>
122 <child>
123 <object class="GtkEntry" id="edit_dialog_name_entry">
124 <property name="visible">True</property>
125 <property name="sensitive">False</property>
126 <property name="can_focus">False</property>
127 <property name="tooltip_text" translatable="yes">Name of the record in the zone.</property>
128 <property name="max_length">63</property>
129 <property name="invisible_char">●</property>
130 <property name="primary_icon_activatable">False</property>
131 <property name="secondary_icon_activatable">False</property>
132 <property name="primary_icon_sensitive">True</property>
133 <property name="secondary_icon_sensitive">True</property>
134 </object>
135 <packing>
136 <property name="expand">True</property>
137 <property name="fill">True</property>
138 <property name="position">0</property>
139 </packing>
140 </child>
141 <child>
142 <object class="GtkLabel" id="edit_dialog_name_in_zone_label">
143 <property name="visible">True</property>
144 <property name="can_focus">False</property>
145 <property name="label" translatable="yes">in</property>
146 </object>
147 <packing>
148 <property name="expand">False</property>
149 <property name="fill">False</property>
150 <property name="padding">10</property>
151 <property name="position">1</property>
152 </packing>
153 </child>
154 <child>
155 <object class="GtkComboBox" id="edit_dialog_zone_combobox">
156 <property name="visible">True</property>
157 <property name="can_focus">False</property>
158 <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>
159 <property name="active">0</property>
160 <property name="entry_text_column">0</property>
161 <child>
162 <object class="GtkCellRendererText" id="edit_dialog_zone_combobox_cellrenderertext"/>
163 <attributes>
164 <attribute name="text">0</attribute>
165 </attributes>
166 </child>
167 </object>
168 <packing>
169 <property name="expand">True</property>
170 <property name="fill">True</property>
171 <property name="position">2</property>
172 </packing>
173 </child>
174 </object>
175 </child>
176 </object>
177 </child>
178 <child type="label">
179 <object class="GtkLabel" id="edit_dialog_name_label">
180 <property name="visible">True</property>
181 <property name="can_focus">False</property>
182 <property name="label" translatable="yes">&lt;b&gt;Name&lt;/b&gt;</property>
183 <property name="use_markup">True</property>
184 </object>
185 </child>
186 </object>
187 <packing>
188 <property name="expand">False</property>
189 <property name="fill">False</property>
190 <property name="position">1</property>
191 </packing>
192 </child>
193 <child>
194 <object class="GtkFrame" id="edit_dialog_tlsa_frame">
195 <property name="visible">True</property>
196 <property name="can_focus">False</property>
197 <property name="label_xalign">0</property>
198 <property name="shadow_type">none</property>
199 <child>
200 <object class="GtkAlignment" id="edit_dialog_tlsa_alignment">
201 <property name="visible">True</property>
202 <property name="can_focus">False</property>
203 <property name="top_padding">4</property>
204 <property name="left_padding">12</property>
205 <child>
206 <object class="GtkVBox" id="edit_dialog_tlsa_vbox">
207 <property name="visible">True</property>
208 <property name="can_focus">False</property>
209 <child>
210 <object class="GtkHBox" id="edit_dialog_tlsa_usage_hbox">
211 <property name="visible">True</property>
212 <property name="can_focus">False</property>
213 <child>
214 <object class="GtkLabel" id="edit_dialog_tlsa_usage_label">
215 <property name="visible">True</property>
216 <property name="can_focus">False</property>
217 <property name="label" translatable="yes">Usage:</property>
218 </object>
219 <packing>
220 <property name="expand">False</property>
221 <property name="fill">False</property>
222 <property name="padding">5</property>
223 <property name="position">0</property>
224 </packing>
225 </child>
226 <child>
227 <object class="GtkRadioButton" id="edit_dialog_tlsa_usage_ca_radiobutton">
228 <property name="label" translatable="yes">CA Constr.</property>
229 <property name="visible">True</property>
230 <property name="can_focus">True</property>
231 <property name="receives_default">False</property>
232 <property name="use_underline">True</property>
233 <property name="active">True</property>
234 <property name="draw_indicator">True</property>
235 </object>
236 <packing>
237 <property name="expand">False</property>
238 <property name="fill">False</property>
239 <property name="padding">5</property>
240 <property name="position">1</property>
241 </packing>
242 </child>
243 <child>
244 <object class="GtkRadioButton" id="edit_dialog_tlsa_usage_service_cert_radiobutton">
245 <property name="label" translatable="yes">Service Cert. Constr.</property>
246 <property name="visible">True</property>
247 <property name="can_focus">True</property>
248 <property name="receives_default">False</property>
249 <property name="use_underline">True</property>
250 <property name="active">True</property>
251 <property name="draw_indicator">True</property>
252 <property name="group">edit_dialog_tlsa_usage_ca_radiobutton</property>
253 </object>
254 <packing>
255 <property name="expand">False</property>
256 <property name="fill">False</property>
257 <property name="padding">5</property>
258 <property name="position">2</property>
259 </packing>
260 </child>
261 <child>
262 <object class="GtkRadioButton" id="edit_dialog_tlsa_usage_trust_anchor_radiobutton">
263 <property name="label" translatable="yes">Trust Anchor Assertion</property>
264 <property name="visible">True</property>
265 <property name="can_focus">True</property>
266 <property name="receives_default">False</property>
267 <property name="yalign">0.60000002384185791</property>
268 <property name="active">True</property>
269 <property name="draw_indicator">True</property>
270 <property name="group">edit_dialog_tlsa_usage_ca_radiobutton</property>
271 </object>
272 <packing>
273 <property name="expand">False</property>
274 <property name="fill">False</property>
275 <property name="padding">5</property>
276 <property name="position">3</property>
277 </packing>
278 </child>
279 <child>
280 <object class="GtkRadioButton" id="edit_dialog_tlsa_usage_domain_issued_cert_radiobutton">
281 <property name="label" translatable="yes">Domain Issued Cert.</property>
282 <property name="visible">True</property>
283 <property name="can_focus">True</property>
284 <property name="receives_default">False</property>
285 <property name="active">True</property>
286 <property name="draw_indicator">True</property>
287 <property name="group">edit_dialog_tlsa_usage_ca_radiobutton</property>
288 </object>
289 <packing>
290 <property name="expand">True</property>
291 <property name="fill">True</property>
292 <property name="padding">5</property>
293 <property name="position">4</property>
294 </packing>
295 </child>
296 </object>
297 <packing>
298 <property name="expand">True</property>
299 <property name="fill">True</property>
300 <property name="position">0</property>
301 </packing>
302 </child>
303 <child>
304 <object class="GtkHBox" id="edit_dialog_tlsa_selector_hbox">
305 <property name="visible">True</property>
306 <property name="can_focus">False</property>
307 <child>
308 <object class="GtkLabel" id="edit_dialog_tlsa_selector_label">
309 <property name="visible">True</property>
310 <property name="can_focus">False</property>
311 <property name="label" translatable="yes">Selector:</property>
312 </object>
313 <packing>
314 <property name="expand">False</property>
315 <property name="fill">False</property>
316 <property name="padding">5</property>
317 <property name="position">0</property>
318 </packing>
319 </child>
320 <child>
321 <object class="GtkRadioButton" id="edit_dialog_tlsa_selector_full_cert_radiobutton">
322 <property name="label" translatable="yes">Full certificate</property>
323 <property name="visible">True</property>
324 <property name="can_focus">True</property>
325 <property name="receives_default">False</property>
326 <property name="active">True</property>
327 <property name="draw_indicator">True</property>
328 </object>
329 <packing>
330 <property name="expand">False</property>
331 <property name="fill">False</property>
332 <property name="padding">5</property>
333 <property name="position">1</property>
334 </packing>
335 </child>
336 <child>
337 <object class="GtkRadioButton" id="edit_dialog_tlsa_selector_subject_public_key_radiobutton">
338 <property name="label" translatable="yes">Subject public key</property>
339 <property name="visible">True</property>
340 <property name="can_focus">True</property>
341 <property name="receives_default">False</property>
342 <property name="active">True</property>
343 <property name="draw_indicator">True</property>
344 <property name="group">edit_dialog_tlsa_selector_full_cert_radiobutton</property>
345 </object>
346 <packing>
347 <property name="expand">False</property>
348 <property name="fill">False</property>
349 <property name="padding">5</property>
350 <property name="position">2</property>
351 </packing>
352 </child>
353 </object>
354 <packing>
355 <property name="expand">True</property>
356 <property name="fill">True</property>
357 <property name="position">1</property>
358 </packing>
359 </child>
360 <child>
361 <object class="GtkHBox" id="edit_dialog_tlsa_matching_type_hbox">
362 <property name="visible">True</property>
363 <property name="can_focus">False</property>
364 <child>
365 <object class="GtkLabel" id="edit_dialog_tlsa_matching_type_label">
366 <property name="visible">True</property>
367 <property name="can_focus">False</property>
368 <property name="label" translatable="yes">Matching-Type:</property>
369 </object>
370 <packing>
371 <property name="expand">False</property>
372 <property name="fill">False</property>
373 <property name="padding">5</property>
374 <property name="position">0</property>
375 </packing>
376 </child>
377 <child>
378 <object class="GtkRadioButton" id="edit_dialog_tlsa_matching_type_full_contents_radiobutton">
379 <property name="label" translatable="yes">Full contents</property>
380 <property name="visible">True</property>
381 <property name="can_focus">True</property>
382 <property name="receives_default">False</property>
383 <property name="active">True</property>
384 <property name="draw_indicator">True</property>
385 </object>
386 <packing>
387 <property name="expand">False</property>
388 <property name="fill">False</property>
389 <property name="padding">5</property>
390 <property name="position">1</property>
391 </packing>
392 </child>
393 <child>
394 <object class="GtkRadioButton" id="edit_dialog_tlsa_matching_type_sha256_radiobutton">
395 <property name="label" translatable="yes">SHA-256</property>
396 <property name="visible">True</property>
397 <property name="can_focus">True</property>
398 <property name="receives_default">False</property>
399 <property name="active">True</property>
400 <property name="draw_indicator">True</property>
401 <property name="group">edit_dialog_tlsa_matching_type_full_contents_radiobutton</property>
402 </object>
403 <packing>
404 <property name="expand">False</property>
405 <property name="fill">False</property>
406 <property name="padding">5</property>
407 <property name="position">2</property>
408 </packing>
409 </child>
410 <child>
411 <object class="GtkRadioButton" id="edit_dialog_tlsa_matching_type_sha512_radiobutton">
412 <property name="label" translatable="yes">SHA-512</property>
413 <property name="visible">True</property>
414 <property name="can_focus">True</property>
415 <property name="receives_default">False</property>
416 <property name="active">True</property>
417 <property name="draw_indicator">True</property>
418 <property name="group">edit_dialog_tlsa_matching_type_full_contents_radiobutton</property>
419 </object>
420 <packing>
421 <property name="expand">False</property>
422 <property name="fill">False</property>
423 <property name="padding">5</property>
424 <property name="position">3</property>
425 </packing>
426 </child>
427 </object>
428 <packing>
429 <property name="expand">True</property>
430 <property name="fill">True</property>
431 <property name="position">2</property>
432 </packing>
433 </child>
434 <child>
435 <object class="GtkHBox" id="edit_dialog_tlsa_value_hbox">
436 <property name="visible">True</property>
437 <property name="can_focus">False</property>
438 <child>
439 <object class="GtkLabel" id="edit_dialog_tlsa_value_label">
440 <property name="visible">True</property>
441 <property name="can_focus">False</property>
442 <property name="label" translatable="yes">Certificate:</property>
443 </object>
444 <packing>
445 <property name="expand">False</property>
446 <property name="fill">False</property>
447 <property name="padding">5</property>
448 <property name="position">0</property>
449 </packing>
450 </child>
451 <child>
452 <object class="GtkTextView" id="edit_dialog_tlsa_value_textview">
453 <property name="height_request">100</property>
454 <property name="visible">True</property>
455 <property name="can_focus">True</property>
456 </object>
457 <packing>
458 <property name="expand">True</property>
459 <property name="fill">True</property>
460 <property name="padding">5</property>
461 <property name="position">1</property>
462 </packing>
463 </child>
464 </object>
465 <packing>
466 <property name="expand">True</property>
467 <property name="fill">True</property>
468 <property name="position">3</property>
469 </packing>
470 </child>
471 <child>
472 <object class="GtkHBox" id="edit_dialog_tlsa_import_hbox">
473 <property name="visible">True</property>
474 <property name="can_focus">False</property>
475 <child>
476 <object class="GtkLabel" id="edit_dialog_tlsa_import_label">
477 <property name="visible">True</property>
478 <property name="can_focus">False</property>
479 <property name="label" translatable="yes">Import ID:</property>
480 </object>
481 <packing>
482 <property name="expand">False</property>
483 <property name="fill">False</property>
484 <property name="padding">5</property>
485 <property name="position">0</property>
486 </packing>
487 </child>
488 <child>
489 <object class="GtkEntry" id="edit_dialog_tlsa_import_entry">
490 <property name="visible">True</property>
491 <property name="can_focus">True</property>
492 <property name="tooltip_text" translatable="yes">Enter identifier to import certificate information from the network.
493For example, for X.509 specify the DNS name.
494For PGP, specify the key identifier.
495</property>
496 <property name="max_length">15</property>
497 <property name="invisible_char">●</property>
498 <property name="invisible_char_set">True</property>
499 <property name="primary_icon_activatable">False</property>
500 <property name="secondary_icon_activatable">False</property>
501 <property name="primary_icon_sensitive">True</property>
502 <property name="secondary_icon_sensitive">True</property>
503 <signal name="changed" handler="GNS_edit_dialog_tlsa_entry_changed_cb" swapped="no"/>
504 </object>
505 <packing>
506 <property name="expand">True</property>
507 <property name="fill">True</property>
508 <property name="padding">5</property>
509 <property name="position">1</property>
510 </packing>
511 </child>
512 <child>
513 <object class="GtkButton" id="edit_dialog_tlsa_import_button">
514 <property name="label">gtk-convert</property>
515 <property name="visible">True</property>
516 <property name="can_focus">True</property>
517 <property name="receives_default">True</property>
518 <property name="tooltip_text" translatable="yes">Import Certificate from external source.</property>
519 <property name="use_stock">True</property>
520 <signal name="clicked" handler="tlsa_import_button_clicked_cb" swapped="no"/>
521 </object>
522 <packing>
523 <property name="expand">False</property>
524 <property name="fill">False</property>
525 <property name="padding">5</property>
526 <property name="position">2</property>
527 </packing>
528 </child>
529 </object>
530 <packing>
531 <property name="expand">True</property>
532 <property name="fill">True</property>
533 <property name="position">4</property>
534 </packing>
535 </child>
536 </object>
537 </child>
538 </object>
539 </child>
540 <child type="label">
541 <object class="GtkLabel" id="edit_dialog_tlsa_label">
542 <property name="visible">True</property>
543 <property name="can_focus">False</property>
544 <property name="label" translatable="yes">&lt;b&gt;TLSA Record Information&lt;/b&gt;</property>
545 <property name="use_markup">True</property>
546 </object>
547 </child>
548 </object>
549 <packing>
550 <property name="expand">False</property>
551 <property name="fill">False</property>
552 <property name="padding">5</property>
553 <property name="position">2</property>
554 </packing>
555 </child>
556 <child>
557 <object class="GtkFrame" id="edit_dialog_options_frame">
558 <property name="visible">True</property>
559 <property name="can_focus">False</property>
560 <property name="label_xalign">0</property>
561 <property name="shadow_type">none</property>
562 <child>
563 <object class="GtkAlignment" id="edit_dialog_options_alignment">
564 <property name="visible">True</property>
565 <property name="can_focus">False</property>
566 <property name="left_padding">12</property>
567 <child>
568 <object class="GtkVBox" id="edit_dialog_options_vbox">
569 <property name="visible">True</property>
570 <property name="can_focus">False</property>
571 <child>
572 <object class="GtkCheckButton" id="edit_dialog_options_public_checkbutton">
573 <property name="label" translatable="yes">Record is public (visible to other users)</property>
574 <property name="visible">True</property>
575 <property name="can_focus">True</property>
576 <property name="receives_default">False</property>
577 <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>
578 <property name="draw_indicator">True</property>
579 </object>
580 <packing>
581 <property name="expand">False</property>
582 <property name="fill">False</property>
583 <property name="position">0</property>
584 </packing>
585 </child>
586 <child>
587 <object class="GtkCheckButton" id="edit_dialog_options_shadow_checkbutton">
588 <property name="label" translatable="yes">Record is a shadow record (valid after other records expire)</property>
589 <property name="visible">True</property>
590 <property name="can_focus">True</property>
591 <property name="receives_default">False</property>
592 <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>
593 <property name="draw_indicator">True</property>
594 </object>
595 <packing>
596 <property name="expand">True</property>
597 <property name="fill">True</property>
598 <property name="position">1</property>
599 </packing>
600 </child>
601 <child>
602 <object class="GtkCheckButton" id="edit_dialog_options_pending_checkbutton">
603 <property name="label" translatable="yes">Record is pending approval (not currently usable for anyone)</property>
604 <property name="visible">True</property>
605 <property name="can_focus">True</property>
606 <property name="receives_default">False</property>
607 <property name="draw_indicator">True</property>
608 </object>
609 <packing>
610 <property name="expand">True</property>
611 <property name="fill">True</property>
612 <property name="position">2</property>
613 </packing>
614 </child>
615 </object>
616 </child>
617 </object>
618 </child>
619 <child type="label">
620 <object class="GtkLabel" id="edit_dialog_options_label">
621 <property name="visible">True</property>
622 <property name="can_focus">False</property>
623 <property name="label" translatable="yes">&lt;b&gt;Options&lt;/b&gt;</property>
624 <property name="use_markup">True</property>
625 </object>
626 </child>
627 </object>
628 <packing>
629 <property name="expand">False</property>
630 <property name="fill">False</property>
631 <property name="position">3</property>
632 </packing>
633 </child>
634 <child>
635 <object class="GtkFrame" id="edit_dialog_expiration_frame">
636 <property name="visible">True</property>
637 <property name="can_focus">False</property>
638 <property name="label_xalign">0</property>
639 <property name="shadow_type">none</property>
640 <child>
641 <object class="GtkAlignment" id="edit_dialog_expiration_alignment">
642 <property name="visible">True</property>
643 <property name="can_focus">False</property>
644 <property name="top_padding">5</property>
645 <property name="bottom_padding">5</property>
646 <property name="left_padding">12</property>
647 <child>
648 <object class="GtkVBox" id="edit_dialog_expiration_vbox">
649 <property name="visible">True</property>
650 <property name="can_focus">False</property>
651 <property name="spacing">5</property>
652 <child>
653 <object class="GtkHBox" id="edit_dialog_expiration_hbox">
654 <property name="visible">True</property>
655 <property name="can_focus">False</property>
656 <child>
657 <object class="GtkRadioButton" id="edit_dialog_expiration_relative_radiobutton">
658 <property name="label" translatable="yes">Relative</property>
659 <property name="visible">True</property>
660 <property name="can_focus">True</property>
661 <property name="receives_default">False</property>
662 <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>
663 <property name="active">True</property>
664 <property name="draw_indicator">True</property>
665 <signal name="toggled" handler="GNS_edit_dialog_expiration_relative_radiobutton_toggled_cb" swapped="no"/>
666 </object>
667 <packing>
668 <property name="expand">False</property>
669 <property name="fill">False</property>
670 <property name="position">0</property>
671 </packing>
672 </child>
673 <child>
674 <object class="GtkRadioButton" id="edit_dialog_expiration_absolute_radiobutton">
675 <property name="label" translatable="yes">Absolute</property>
676 <property name="visible">True</property>
677 <property name="can_focus">True</property>
678 <property name="receives_default">False</property>
679 <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>
680 <property name="active">True</property>
681 <property name="draw_indicator">True</property>
682 <property name="group">edit_dialog_expiration_relative_radiobutton</property>
683 <signal name="toggled" handler="GNS_edit_dialog_expiration_absolute_radiobutton_toggled_cb" swapped="no"/>
684 </object>
685 <packing>
686 <property name="expand">False</property>
687 <property name="fill">False</property>
688 <property name="position">1</property>
689 </packing>
690 </child>
691 <child>
692 <object class="GtkRadioButton" id="edit_dialog_expiration_never_radiobutton">
693 <property name="label" translatable="yes">Never</property>
694 <property name="visible">True</property>
695 <property name="can_focus">True</property>
696 <property name="receives_default">False</property>
697 <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>
698 <property name="active">True</property>
699 <property name="draw_indicator">True</property>
700 <property name="group">edit_dialog_expiration_relative_radiobutton</property>
701 </object>
702 <packing>
703 <property name="expand">False</property>
704 <property name="fill">False</property>
705 <property name="position">2</property>
706 </packing>
707 </child>
708 </object>
709 <packing>
710 <property name="expand">False</property>
711 <property name="fill">False</property>
712 <property name="position">0</property>
713 </packing>
714 </child>
715 <child>
716 <object class="GtkCalendar" id="edit_dialog_expiration_absolute_calendar">
717 <property name="visible">True</property>
718 <property name="can_focus">True</property>
719 <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>
720 <property name="year">2012</property>
721 <property name="month">9</property>
722 <property name="day">17</property>
723 <property name="show_week_numbers">True</property>
724 </object>
725 <packing>
726 <property name="expand">True</property>
727 <property name="fill">True</property>
728 <property name="position">1</property>
729 </packing>
730 </child>
731 <child>
732 <object class="GtkHBox" id="edit_dialog_expiration_absolute_hbox">
733 <property name="visible">True</property>
734 <property name="can_focus">False</property>
735 <child>
736 <object class="GtkLabel" id="edit_dialog_expiration_absolute_hours_label">
737 <property name="visible">True</property>
738 <property name="can_focus">False</property>
739 <property name="label" translatable="yes">Hours:</property>
740 </object>
741 <packing>
742 <property name="expand">False</property>
743 <property name="fill">False</property>
744 <property name="padding">5</property>
745 <property name="position">0</property>
746 </packing>
747 </child>
748 <child>
749 <object class="GtkSpinButton" id="edit_dialog_expiration_absolute_hours_spinbutton">
750 <property name="visible">True</property>
751 <property name="can_focus">True</property>
752 <property name="tooltip_text" translatable="yes">Which hour of the day selected above should the record expire?</property>
753 <property name="max_length">2</property>
754 <property name="invisible_char">●</property>
755 <property name="primary_icon_activatable">False</property>
756 <property name="secondary_icon_activatable">False</property>
757 <property name="primary_icon_sensitive">True</property>
758 <property name="secondary_icon_sensitive">True</property>
759 <property name="adjustment">absolute_expiration_hours_adjustment</property>
760 </object>
761 <packing>
762 <property name="expand">False</property>
763 <property name="fill">False</property>
764 <property name="position">1</property>
765 </packing>
766 </child>
767 <child>
768 <object class="GtkLabel" id="edit_dialog_expiration_absolute_minutes_label">
769 <property name="visible">True</property>
770 <property name="can_focus">False</property>
771 <property name="label" translatable="yes">Minutes:</property>
772 </object>
773 <packing>
774 <property name="expand">False</property>
775 <property name="fill">False</property>
776 <property name="padding">5</property>
777 <property name="position">2</property>
778 </packing>
779 </child>
780 <child>
781 <object class="GtkSpinButton" id="edit_dialog_expiration_absolute_minutes_spinbutton">
782 <property name="visible">True</property>
783 <property name="can_focus">True</property>
784 <property name="tooltip_text" translatable="yes">Which minute of the day selected above should the record expire?</property>
785 <property name="max_length">2</property>
786 <property name="invisible_char">●</property>
787 <property name="primary_icon_activatable">False</property>
788 <property name="secondary_icon_activatable">False</property>
789 <property name="primary_icon_sensitive">True</property>
790 <property name="secondary_icon_sensitive">True</property>
791 <property name="adjustment">absolute_expiration_minutes_adjustment</property>
792 </object>
793 <packing>
794 <property name="expand">False</property>
795 <property name="fill">False</property>
796 <property name="position">3</property>
797 </packing>
798 </child>
799 <child>
800 <object class="GtkLabel" id="edit_dialog_expiration_absolute_seconds_label">
801 <property name="visible">True</property>
802 <property name="can_focus">False</property>
803 <property name="label" translatable="yes">Seconds:</property>
804 </object>
805 <packing>
806 <property name="expand">False</property>
807 <property name="fill">False</property>
808 <property name="padding">5</property>
809 <property name="position">4</property>
810 </packing>
811 </child>
812 <child>
813 <object class="GtkSpinButton" id="edit_dialog_expiration_absolute_seconds_spinbutton">
814 <property name="visible">True</property>
815 <property name="can_focus">True</property>
816 <property name="tooltip_text" translatable="yes">Which second of the day selected above should the record expire?</property>
817 <property name="max_length">2</property>
818 <property name="invisible_char">●</property>
819 <property name="primary_icon_activatable">False</property>
820 <property name="secondary_icon_activatable">False</property>
821 <property name="primary_icon_sensitive">True</property>
822 <property name="secondary_icon_sensitive">True</property>
823 <property name="adjustment">absolute_expiration_seconds_adjustment</property>
824 </object>
825 <packing>
826 <property name="expand">False</property>
827 <property name="fill">False</property>
828 <property name="position">5</property>
829 </packing>
830 </child>
831 </object>
832 <packing>
833 <property name="expand">True</property>
834 <property name="fill">True</property>
835 <property name="position">2</property>
836 </packing>
837 </child>
838 <child>
839 <object class="GtkComboBox" id="edit_dialog_expiration_relative_combobox">
840 <property name="visible">True</property>
841 <property name="can_focus">False</property>
842 <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>
843 <property name="model">edit_dialog_expiration_relative_liststore</property>
844 <property name="entry_text_column">0</property>
845 <child>
846 <object class="GtkCellRendererText" id="edit_dialog_expiration_relative_combobox_cellrenderertext"/>
847 <attributes>
848 <attribute name="text">0</attribute>
849 </attributes>
850 </child>
851 </object>
852 <packing>
853 <property name="expand">True</property>
854 <property name="fill">True</property>
855 <property name="position">3</property>
856 </packing>
857 </child>
858 </object>
859 </child>
860 </object>
861 </child>
862 <child type="label">
863 <object class="GtkLabel" id="edit_dialog_expiration_label">
864 <property name="visible">True</property>
865 <property name="can_focus">False</property>
866 <property name="label" translatable="yes">&lt;b&gt;Expiration Time&lt;/b&gt;</property>
867 <property name="use_markup">True</property>
868 </object>
869 </child>
870 </object>
871 <packing>
872 <property name="expand">True</property>
873 <property name="fill">True</property>
874 <property name="position">4</property>
875 </packing>
876 </child>
877 </object>
878 </child>
879 <action-widgets>
880 <action-widget response="-6">edit_dialog_cancel_button</action-widget>
881 <action-widget response="-2">edit_dialog_delete_button</action-widget>
882 <action-widget response="-5">edit_dialog_save_button</action-widget>
883 </action-widgets>
884 </object>
885</interface>