diff options
Diffstat (limited to 'contrib/gnunet_identity_gtk_advertise_dialog.glade')
-rw-r--r-- | contrib/gnunet_identity_gtk_advertise_dialog.glade | 304 |
1 files changed, 249 insertions, 55 deletions
diff --git a/contrib/gnunet_identity_gtk_advertise_dialog.glade b/contrib/gnunet_identity_gtk_advertise_dialog.glade index a35073f3..178ccabd 100644 --- a/contrib/gnunet_identity_gtk_advertise_dialog.glade +++ b/contrib/gnunet_identity_gtk_advertise_dialog.glade | |||
@@ -33,6 +33,19 @@ | |||
33 | <column type="gchararray"/> | 33 | <column type="gchararray"/> |
34 | </columns> | 34 | </columns> |
35 | </object> | 35 | </object> |
36 | <object class="GtkAdjustment" id="GNUNET_GTK_identity_advertise_metadata_vadj"> | ||
37 | <property name="upper">100</property> | ||
38 | <property name="step_increment">1</property> | ||
39 | <property name="page_increment">10</property> | ||
40 | </object> | ||
41 | <object class="GtkListStore" id="GNUNET_GTK_identity_metadata_types_liststore"> | ||
42 | <columns> | ||
43 | <!-- column-name type_as_string --> | ||
44 | <column type="gchararray"/> | ||
45 | <!-- column-name type_as_enum --> | ||
46 | <column type="guint"/> | ||
47 | </columns> | ||
48 | </object> | ||
36 | <object class="GtkDialog" id="GNUNET_GTK_identity_advertise_dialog"> | 49 | <object class="GtkDialog" id="GNUNET_GTK_identity_advertise_dialog"> |
37 | <property name="can_focus">False</property> | 50 | <property name="can_focus">False</property> |
38 | <property name="border_width">5</property> | 51 | <property name="border_width">5</property> |
@@ -240,52 +253,6 @@ | |||
240 | <property name="position">0</property> | 253 | <property name="position">0</property> |
241 | </packing> | 254 | </packing> |
242 | </child> | 255 | </child> |
243 | <child internal-child="action_area"> | ||
244 | <object class="GtkHButtonBox" id="GNUNET_GTK_identity_advertise_action_area"> | ||
245 | <property name="visible">True</property> | ||
246 | <property name="can_focus">False</property> | ||
247 | <property name="layout_style">end</property> | ||
248 | <child> | ||
249 | <object class="GtkButton" id="GNUNET_GTK_identity_advertise_ok_button"> | ||
250 | <property name="label">gtk-execute</property> | ||
251 | <property name="use_action_appearance">False</property> | ||
252 | <property name="visible">True</property> | ||
253 | <property name="sensitive">False</property> | ||
254 | <property name="can_focus">True</property> | ||
255 | <property name="receives_default">True</property> | ||
256 | <property name="tooltip_text" translatable="yes">Execute advertisement.</property> | ||
257 | <property name="use_stock">True</property> | ||
258 | </object> | ||
259 | <packing> | ||
260 | <property name="expand">False</property> | ||
261 | <property name="fill">False</property> | ||
262 | <property name="position">0</property> | ||
263 | </packing> | ||
264 | </child> | ||
265 | <child> | ||
266 | <object class="GtkButton" id="GNUNET_GTK_identity_advertise_cancel_button"> | ||
267 | <property name="label">gtk-cancel</property> | ||
268 | <property name="use_action_appearance">False</property> | ||
269 | <property name="visible">True</property> | ||
270 | <property name="can_focus">True</property> | ||
271 | <property name="receives_default">True</property> | ||
272 | <property name="tooltip_text" translatable="yes">Closes the dialog without advertising the namespace.</property> | ||
273 | <property name="use_stock">True</property> | ||
274 | </object> | ||
275 | <packing> | ||
276 | <property name="expand">False</property> | ||
277 | <property name="fill">False</property> | ||
278 | <property name="position">1</property> | ||
279 | </packing> | ||
280 | </child> | ||
281 | </object> | ||
282 | <packing> | ||
283 | <property name="expand">False</property> | ||
284 | <property name="fill">True</property> | ||
285 | <property name="pack_type">end</property> | ||
286 | <property name="position">1</property> | ||
287 | </packing> | ||
288 | </child> | ||
289 | <child> | 256 | <child> |
290 | <object class="GtkFrame" id="GNUNET_GTK_identity_advertise_keywords_frame"> | 257 | <object class="GtkFrame" id="GNUNET_GTK_identity_advertise_keywords_frame"> |
291 | <property name="visible">True</property> | 258 | <property name="visible">True</property> |
@@ -350,9 +317,234 @@ | |||
350 | <packing> | 317 | <packing> |
351 | <property name="expand">True</property> | 318 | <property name="expand">True</property> |
352 | <property name="fill">True</property> | 319 | <property name="fill">True</property> |
320 | <property name="position">1</property> | ||
321 | </packing> | ||
322 | </child> | ||
323 | <child> | ||
324 | <object class="GtkFrame" id="GNUNET_GTK_identity_publishing_options_frame"> | ||
325 | <property name="visible">True</property> | ||
326 | <property name="can_focus">False</property> | ||
327 | <property name="label_xalign">0</property> | ||
328 | <property name="shadow_type">none</property> | ||
329 | <child> | ||
330 | <object class="GtkAlignment" id="GNUNET_GTK_identity_publishing_options_alignment"> | ||
331 | <property name="visible">True</property> | ||
332 | <property name="can_focus">False</property> | ||
333 | <property name="left_padding">12</property> | ||
334 | <child> | ||
335 | <object class="GtkTable" id="table1"> | ||
336 | <property name="visible">True</property> | ||
337 | <property name="can_focus">False</property> | ||
338 | <property name="n_rows">2</property> | ||
339 | <property name="n_columns">4</property> | ||
340 | <property name="column_spacing">4</property> | ||
341 | <property name="row_spacing">3</property> | ||
342 | <child> | ||
343 | <object class="GtkAlignment" id="GNUNET_GTK_identity_advertise_anonymity_combobox_alignment"> | ||
344 | <property name="visible">True</property> | ||
345 | <property name="can_focus">False</property> | ||
346 | <property name="yscale">0</property> | ||
347 | <child> | ||
348 | <object class="GtkComboBox" id="GNUNET_GTK_identity_advertise_anonymity_combobox"> | ||
349 | <property name="visible">True</property> | ||
350 | <property name="can_focus">False</property> | ||
351 | <property name="active">1</property> | ||
352 | <child> | ||
353 | <object class="GtkCellRendererText" id="GNUNET_GTK_identity_advertise_anonymity_combobox_renderer"/> | ||
354 | <attributes> | ||
355 | <attribute name="foreground">2</attribute> | ||
356 | <attribute name="text">0</attribute> | ||
357 | </attributes> | ||
358 | </child> | ||
359 | <child> | ||
360 | <object class="GtkCellRendererText" id="GNUNET_GTK_identity_advertise_anonymity_combobox_renerer_level"/> | ||
361 | <attributes> | ||
362 | <attribute name="text">1</attribute> | ||
363 | </attributes> | ||
364 | </child> | ||
365 | </object> | ||
366 | </child> | ||
367 | </object> | ||
368 | <packing> | ||
369 | <property name="left_attach">3</property> | ||
370 | <property name="right_attach">4</property> | ||
371 | <property name="top_attach">1</property> | ||
372 | <property name="bottom_attach">2</property> | ||
373 | </packing> | ||
374 | </child> | ||
375 | <child> | ||
376 | <object class="GtkLabel" id="GNUNET_GTK_identity_advertise_anonymity_label"> | ||
377 | <property name="visible">True</property> | ||
378 | <property name="can_focus">False</property> | ||
379 | <property name="label" translatable="yes">Anonymity:</property> | ||
380 | </object> | ||
381 | <packing> | ||
382 | <property name="left_attach">2</property> | ||
383 | <property name="right_attach">3</property> | ||
384 | <property name="top_attach">1</property> | ||
385 | <property name="bottom_attach">2</property> | ||
386 | <property name="x_options"/> | ||
387 | <property name="y_options"/> | ||
388 | </packing> | ||
389 | </child> | ||
390 | <child> | ||
391 | <object class="GtkLabel" id="GNUNET_GTK_identity_advertise_priority_label"> | ||
392 | <property name="visible">True</property> | ||
393 | <property name="can_focus">False</property> | ||
394 | <property name="label" translatable="yes">Priority:</property> | ||
395 | </object> | ||
396 | <packing> | ||
397 | <property name="left_attach">2</property> | ||
398 | <property name="right_attach">3</property> | ||
399 | <property name="x_options"/> | ||
400 | <property name="y_options"/> | ||
401 | </packing> | ||
402 | </child> | ||
403 | <child> | ||
404 | <object class="GtkSpinButton" id="GNUNET_GTK_identity_advertise_priority_spin_button"> | ||
405 | <property name="visible">True</property> | ||
406 | <property name="can_focus">True</property> | ||
407 | <property name="invisible_char">•</property> | ||
408 | <property name="invisible_char_set">True</property> | ||
409 | <property name="primary_icon_activatable">False</property> | ||
410 | <property name="secondary_icon_activatable">False</property> | ||
411 | <property name="primary_icon_sensitive">True</property> | ||
412 | <property name="secondary_icon_sensitive">True</property> | ||
413 | <property name="adjustment">priority_adjustment</property> | ||
414 | <property name="numeric">True</property> | ||
415 | </object> | ||
416 | <packing> | ||
417 | <property name="left_attach">3</property> | ||
418 | <property name="right_attach">4</property> | ||
419 | </packing> | ||
420 | </child> | ||
421 | <child> | ||
422 | <object class="GtkLabel" id="GNUNET_GTK_identity_advertise_expiration_label"> | ||
423 | <property name="visible">True</property> | ||
424 | <property name="can_focus">False</property> | ||
425 | <property name="label" translatable="yes">Expiration year:</property> | ||
426 | </object> | ||
427 | <packing> | ||
428 | <property name="x_options"/> | ||
429 | <property name="y_options"/> | ||
430 | </packing> | ||
431 | </child> | ||
432 | <child> | ||
433 | <object class="GtkSpinButton" id="GNUNET_GTK_identity_advertise_expiration_year_spin_button"> | ||
434 | <property name="visible">True</property> | ||
435 | <property name="can_focus">True</property> | ||
436 | <property name="invisible_char">•</property> | ||
437 | <property name="invisible_char_set">True</property> | ||
438 | <property name="primary_icon_activatable">False</property> | ||
439 | <property name="secondary_icon_activatable">False</property> | ||
440 | <property name="primary_icon_sensitive">True</property> | ||
441 | <property name="secondary_icon_sensitive">True</property> | ||
442 | <property name="adjustment">expiration_year_adjustment</property> | ||
443 | <property name="numeric">True</property> | ||
444 | </object> | ||
445 | <packing> | ||
446 | <property name="left_attach">1</property> | ||
447 | <property name="right_attach">2</property> | ||
448 | </packing> | ||
449 | </child> | ||
450 | <child> | ||
451 | <object class="GtkLabel" id="GNUNET_GTK_identity_advertise_replication_label"> | ||
452 | <property name="visible">True</property> | ||
453 | <property name="can_focus">False</property> | ||
454 | <property name="label" translatable="yes">_Replication:</property> | ||
455 | <property name="use_underline">True</property> | ||
456 | </object> | ||
457 | <packing> | ||
458 | <property name="top_attach">1</property> | ||
459 | <property name="bottom_attach">2</property> | ||
460 | <property name="x_options"/> | ||
461 | <property name="y_options"/> | ||
462 | </packing> | ||
463 | </child> | ||
464 | <child> | ||
465 | <object class="GtkSpinButton" id="GNUNET_GTK_identity_advertise_replication_spin_button"> | ||
466 | <property name="visible">True</property> | ||
467 | <property name="can_focus">True</property> | ||
468 | <property name="invisible_char">●</property> | ||
469 | <property name="invisible_char_set">True</property> | ||
470 | <property name="primary_icon_activatable">False</property> | ||
471 | <property name="secondary_icon_activatable">False</property> | ||
472 | <property name="primary_icon_sensitive">True</property> | ||
473 | <property name="secondary_icon_sensitive">True</property> | ||
474 | <property name="adjustment">replication_adjustment</property> | ||
475 | <property name="numeric">True</property> | ||
476 | </object> | ||
477 | <packing> | ||
478 | <property name="left_attach">1</property> | ||
479 | <property name="right_attach">2</property> | ||
480 | <property name="top_attach">1</property> | ||
481 | <property name="bottom_attach">2</property> | ||
482 | </packing> | ||
483 | </child> | ||
484 | </object> | ||
485 | </child> | ||
486 | </object> | ||
487 | </child> | ||
488 | <child type="label"> | ||
489 | <object class="GtkLabel" id="GNUNET_GTK_identity_publishing_options_label"> | ||
490 | <property name="visible">True</property> | ||
491 | <property name="can_focus">False</property> | ||
492 | <property name="label" translatable="yes"><b>Publishing options</b></property> | ||
493 | <property name="use_markup">True</property> | ||
494 | </object> | ||
495 | </child> | ||
496 | </object> | ||
497 | <packing> | ||
498 | <property name="expand">False</property> | ||
499 | <property name="fill">False</property> | ||
353 | <property name="position">2</property> | 500 | <property name="position">2</property> |
354 | </packing> | 501 | </packing> |
355 | </child> | 502 | </child> |
503 | <child internal-child="action_area"> | ||
504 | <object class="GtkHButtonBox" id="GNUNET_GTK_identity_advertise_action_area"> | ||
505 | <property name="visible">True</property> | ||
506 | <property name="can_focus">False</property> | ||
507 | <property name="layout_style">end</property> | ||
508 | <child> | ||
509 | <object class="GtkButton" id="GNUNET_GTK_identity_advertise_ok_button"> | ||
510 | <property name="label">gtk-execute</property> | ||
511 | <property name="use_action_appearance">False</property> | ||
512 | <property name="visible">True</property> | ||
513 | <property name="sensitive">False</property> | ||
514 | <property name="can_focus">True</property> | ||
515 | <property name="receives_default">True</property> | ||
516 | <property name="tooltip_text" translatable="yes">Execute advertisement.</property> | ||
517 | <property name="use_stock">True</property> | ||
518 | </object> | ||
519 | <packing> | ||
520 | <property name="expand">False</property> | ||
521 | <property name="fill">False</property> | ||
522 | <property name="position">0</property> | ||
523 | </packing> | ||
524 | </child> | ||
525 | <child> | ||
526 | <object class="GtkButton" id="GNUNET_GTK_identity_advertise_cancel_button"> | ||
527 | <property name="label">gtk-cancel</property> | ||
528 | <property name="use_action_appearance">False</property> | ||
529 | <property name="visible">True</property> | ||
530 | <property name="can_focus">True</property> | ||
531 | <property name="receives_default">True</property> | ||
532 | <property name="tooltip_text" translatable="yes">Closes the dialog without advertising the namespace.</property> | ||
533 | <property name="use_stock">True</property> | ||
534 | </object> | ||
535 | <packing> | ||
536 | <property name="expand">False</property> | ||
537 | <property name="fill">False</property> | ||
538 | <property name="position">1</property> | ||
539 | </packing> | ||
540 | </child> | ||
541 | </object> | ||
542 | <packing> | ||
543 | <property name="expand">False</property> | ||
544 | <property name="fill">True</property> | ||
545 | <property name="position">3</property> | ||
546 | </packing> | ||
547 | </child> | ||
356 | </object> | 548 | </object> |
357 | </child> | 549 | </child> |
358 | <action-widgets> | 550 | <action-widgets> |
@@ -360,17 +552,19 @@ | |||
360 | <action-widget response="-6">GNUNET_GTK_identity_advertise_cancel_button</action-widget> | 552 | <action-widget response="-6">GNUNET_GTK_identity_advertise_cancel_button</action-widget> |
361 | </action-widgets> | 553 | </action-widgets> |
362 | </object> | 554 | </object> |
363 | <object class="GtkAdjustment" id="GNUNET_GTK_identity_advertise_metadata_vadj"> | 555 | <object class="GtkAdjustment" id="expiration_year_adjustment"> |
364 | <property name="upper">100</property> | 556 | <property name="upper">9999</property> |
365 | <property name="step_increment">1</property> | 557 | <property name="step_increment">1</property> |
366 | <property name="page_increment">10</property> | 558 | <property name="page_increment">10</property> |
367 | </object> | 559 | </object> |
368 | <object class="GtkListStore" id="GNUNET_GTK_identity_metadata_types_liststore"> | 560 | <object class="GtkAdjustment" id="priority_adjustment"> |
369 | <columns> | 561 | <property name="upper">100000000</property> |
370 | <!-- column-name type_as_string --> | 562 | <property name="step_increment">1</property> |
371 | <column type="gchararray"/> | 563 | <property name="page_increment">10</property> |
372 | <!-- column-name type_as_enum --> | 564 | </object> |
373 | <column type="guint"/> | 565 | <object class="GtkAdjustment" id="replication_adjustment"> |
374 | </columns> | 566 | <property name="upper">99999</property> |
567 | <property name="step_increment">1</property> | ||
568 | <property name="page_increment">10</property> | ||
375 | </object> | 569 | </object> |
376 | </interface> | 570 | </interface> |