[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r33557 - gnunet-gtk/contrib
From: |
gnunet |
Subject: |
[GNUnet-SVN] r33557 - gnunet-gtk/contrib |
Date: |
Fri, 6 Jun 2014 12:08:44 +0200 |
Author: grothoff
Date: 2014-06-06 12:08:43 +0200 (Fri, 06 Jun 2014)
New Revision: 33557
Modified:
gnunet-gtk/contrib/gnunet_namestore_edit_srv.glade
gnunet-gtk/contrib/gnunet_namestore_edit_tlsa.glade
Log:
-allow port/protocol selection in srv/tlsa dialogs
Modified: gnunet-gtk/contrib/gnunet_namestore_edit_srv.glade
===================================================================
--- gnunet-gtk/contrib/gnunet_namestore_edit_srv.glade 2014-06-06 09:31:09 UTC
(rev 33556)
+++ gnunet-gtk/contrib/gnunet_namestore_edit_srv.glade 2014-06-06 10:08:43 UTC
(rev 33557)
@@ -34,6 +34,39 @@
</row>
</data>
</object>
+ <object class="GtkListStore" id="edit_dialog_protocol_liststore">
+ <columns>
+ <!-- column-name protocol_name -->
+ <column type="gchararray"/>
+ <!-- column-name protocol_number -->
+ <column type="guint"/>
+ </columns>
+ <data>
+ <row>
+ <col id="0" translatable="yes">tcp</col>
+ <col id="1">6</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">udp</col>
+ <col id="1">17</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">sctp</col>
+ <col id="1">132</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">dccp</col>
+ <col id="1">33</col>
+ </row>
+ </data>
+ </object>
+ <object class="GtkAdjustment" id="edit_dialog_srv_port_adjustment">
+ <property name="lower">1</property>
+ <property name="upper">65535</property>
+ <property name="value">80</property>
+ <property name="step_increment">1</property>
+ <property name="page_increment">10</property>
+ </object>
<object class="GtkAdjustment" id="srv_port_adjustment">
<property name="upper">65535</property>
<property name="step_increment">1</property>
@@ -136,6 +169,86 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
+ <object class="GtkLabel" id="edit_dialog_srv_port_label">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label"
translatable="yes">_Port:</property>
+ <property name="use_underline">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkSpinButton"
id="edit_dialog_srv_port_spinbutton">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="max_length">5</property>
+ <property name="width_chars">5</property>
+ <property name="max_width_chars">5</property>
+ <property name="text" translatable="yes">443</property>
+ <property
name="adjustment">edit_dialog_srv_port_adjustment</property>
+ <property name="climb_rate">1</property>
+ <property name="numeric">True</property>
+ <property name="value">80</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel"
id="edit_dialog_srv_protocol_label">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label"
translatable="yes">Protocol:</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBox"
id="edit_dialog_srv_protocol_combobox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property
name="model">edit_dialog_protocol_liststore</property>
+ <property name="active">0</property>
+ <child>
+ <object class="GtkCellRendererText"
id="edit_dialog_srv_protocol_name_cellrenderertext"/>
+ <attributes>
+ <attribute name="text">0</attribute>
+ </attributes>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">3</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel"
id="edit_dialog_srv_label_label">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label"
translatable="yes">Label:</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">4</property>
+ </packing>
+ </child>
+ <child>
<object class="GtkEntry" id="edit_dialog_name_entry">
<property name="visible">True</property>
<property name="sensitive">False</property>
@@ -149,7 +262,7 @@
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
- <property name="position">0</property>
+ <property name="position">5</property>
</packing>
</child>
<child>
@@ -162,7 +275,7 @@
<property name="expand">False</property>
<property name="fill">False</property>
<property name="padding">10</property>
- <property name="position">1</property>
+ <property name="position">6</property>
</packing>
</child>
<child>
@@ -182,7 +295,7 @@
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
- <property name="position">2</property>
+ <property name="position">7</property>
</packing>
</child>
</object>
Modified: gnunet-gtk/contrib/gnunet_namestore_edit_tlsa.glade
===================================================================
--- gnunet-gtk/contrib/gnunet_namestore_edit_tlsa.glade 2014-06-06 09:31:09 UTC
(rev 33556)
+++ gnunet-gtk/contrib/gnunet_namestore_edit_tlsa.glade 2014-06-06 10:08:43 UTC
(rev 33557)
@@ -17,23 +17,6 @@
<property name="step_increment">1</property>
<property name="page_increment">10</property>
</object>
- <object class="GtkListStore" id="edit_dialog_expiration_relative_liststore">
- <columns>
- <!-- column-name relativetime -->
- <column type="gchararray"/>
- </columns>
- <data>
- <row>
- <col id="0">7 days</col>
- </row>
- <row>
- <col id="0">1 day</col>
- </row>
- <row>
- <col id="0">1 h</col>
- </row>
- </data>
- </object>
<object class="GtkDialog" id="edit_a_dialog">
<property name="can_focus">False</property>
<property name="border_width">5</property>
@@ -47,427 +30,861 @@
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">2</property>
- <child internal-child="action_area">
- <object class="GtkButtonBox" id="edit_dialog_action_area">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="layout_style">end</property>
- <child>
- <object class="GtkButton" id="edit_dialog_cancel_button">
- <property name="label">gtk-cancel</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <property name="use_stock">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkButton" id="edit_dialog_delete_button">
- <property name="label">gtk-delete</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <property name="use_stock">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkButton" id="edit_dialog_save_button">
- <property name="label">gtk-save</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="has_default">True</property>
- <property name="receives_default">True</property>
- <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>
- <property name="use_stock">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="pack_type">end</property>
- <property name="position">0</property>
- </packing>
- </child>
<child>
- <object class="GtkFrame" id="edit_dialog_name_frame">
+ <object class="GtkScrolledWindow" id="edit_dialog_scrolledwindow">
<property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label_xalign">0</property>
- <property name="shadow_type">none</property>
+ <property name="can_focus">True</property>
+ <property name="shadow_type">in</property>
<child>
- <object class="GtkAlignment" id="edit_dialog_name_alignment">
+ <object class="GtkViewport" id="edit_dialog_viewport">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="left_padding">12</property>
<child>
- <object class="GtkHBox" id="edit_dialog_name_hbox">
+ <object class="GtkBox" id="edit_dialog_inner_vbox">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="orientation">vertical</property>
<child>
- <object class="GtkEntry" id="edit_dialog_name_entry">
+ <object class="GtkFrame" id="edit_dialog_name_frame">
<property name="visible">True</property>
- <property name="sensitive">False</property>
<property name="can_focus">False</property>
- <property name="tooltip_text" translatable="yes">Name
of the record in the zone.</property>
- <property name="max_length">63</property>
- <property name="invisible_char">●</property>
- <property
name="primary_icon_activatable">False</property>
- <property
name="secondary_icon_activatable">False</property>
- </object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel"
id="edit_dialog_name_in_zone_label">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">in</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">10</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkComboBox"
id="edit_dialog_zone_combobox">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <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>
- <property name="active">0</property>
- <property name="entry_text_column">0</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">none</property>
<child>
- <object class="GtkCellRendererText"
id="edit_dialog_zone_combobox_cellrenderertext"/>
- <attributes>
- <attribute name="text">0</attribute>
- </attributes>
- </child>
- </object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
- <property name="position">2</property>
- </packing>
- </child>
- </object>
- </child>
- </object>
- </child>
- <child type="label">
- <object class="GtkLabel" id="edit_dialog_name_label">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label"
translatable="yes"><b>Name</b></property>
- <property name="use_markup">True</property>
- </object>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkFrame" id="edit_dialog_tlsa_frame">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label_xalign">0</property>
- <property name="shadow_type">none</property>
- <child>
- <object class="GtkAlignment" id="edit_dialog_tlsa_alignment">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="top_padding">4</property>
- <property name="left_padding">12</property>
- <child>
- <object class="GtkVBox" id="edit_dialog_tlsa_vbox">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <child>
- <object class="GtkHBox" id="edit_dialog_tlsa_usage_hbox">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <child>
- <object class="GtkLabel"
id="edit_dialog_tlsa_usage_label">
+ <object class="GtkAlignment"
id="edit_dialog_name_alignment">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label"
translatable="yes">Usage:</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkHBox"
id="edit_dialog_name_hbox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkLabel"
id="edit_dialog_tlsa_port_label">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label"
translatable="yes">_Port:</property>
+ <property
name="use_underline">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkSpinButton"
id="edit_dialog_tlsa_port_spinbutton">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="max_length">5</property>
+ <property name="width_chars">5</property>
+ <property
name="max_width_chars">5</property>
+ <property name="text"
translatable="yes">443</property>
+ <property
name="adjustment">edit_dialog_tlsa_port_adjustment</property>
+ <property name="climb_rate">1</property>
+ <property name="numeric">True</property>
+ <property name="value">443</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel"
id="edit_dialog_tlsa_protocol_label">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label"
translatable="yes">Protocol:</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBox"
id="edit_dialog_tlsa_protocol_combobox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property
name="model">edit_dialog_protocol_liststore</property>
+ <property name="active">0</property>
+ <child>
+ <object class="GtkCellRendererText"
id="edit_dialog_tlsa_protocol_name_cellrenderertext"/>
+ <attributes>
+ <attribute name="text">0</attribute>
+ </attributes>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">3</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel"
id="edit_dialog_label_label">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label"
translatable="yes">_Label</property>
+ <property
name="use_underline">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">4</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry"
id="edit_dialog_name_entry">
+ <property name="visible">True</property>
+ <property name="sensitive">False</property>
+ <property name="can_focus">True</property>
+ <property name="tooltip_text"
translatable="yes">Name of the record in the zone.</property>
+ <property name="max_length">63</property>
+ <property
name="invisible_char">●</property>
+ <property
name="primary_icon_activatable">False</property>
+ <property
name="secondary_icon_activatable">False</property>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">5</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel"
id="edit_dialog_name_in_zone_label">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label"
translatable="yes">in</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">10</property>
+ <property name="position">6</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBox"
id="edit_dialog_zone_combobox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <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>
+ <property name="active">0</property>
+ <property
name="entry_text_column">0</property>
+ <child>
+ <object class="GtkCellRendererText"
id="edit_dialog_zone_combobox_cellrenderertext"/>
+ <attributes>
+ <attribute name="text">0</attribute>
+ </attributes>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">7</property>
+ </packing>
+ </child>
+ </object>
+ </child>
</object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">5</property>
- <property name="position">0</property>
- </packing>
</child>
- <child>
- <object class="GtkRadioButton"
id="edit_dialog_tlsa_usage_ca_radiobutton">
- <property name="label" translatable="yes">CA
Constr.</property>
+ <child type="label">
+ <object class="GtkLabel" id="edit_dialog_name_label">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="xalign">0.5</property>
- <property name="active">True</property>
- <property name="draw_indicator">True</property>
+ <property name="can_focus">False</property>
+ <property name="label"
translatable="yes"><b>Name</b></property>
+ <property name="use_markup">True</property>
</object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">5</property>
- <property name="position">1</property>
- </packing>
</child>
- <child>
- <object class="GtkRadioButton"
id="edit_dialog_tlsa_usage_service_cert_radiobutton">
- <property name="label" translatable="yes">Service
Cert. Constr.</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="xalign">0.5</property>
- <property name="active">True</property>
- <property name="draw_indicator">True</property>
- <property
name="group">edit_dialog_tlsa_usage_ca_radiobutton</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">5</property>
- <property name="position">2</property>
- </packing>
- </child>
- <child>
- <object class="GtkRadioButton"
id="edit_dialog_tlsa_usage_trust_anchor_radiobutton">
- <property name="label" translatable="yes">Trust
Anchor Assertion</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="xalign">0.5</property>
- <property
name="yalign">0.60000002384185791</property>
- <property name="active">True</property>
- <property name="draw_indicator">True</property>
- <property
name="group">edit_dialog_tlsa_usage_ca_radiobutton</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">5</property>
- <property name="position">3</property>
- </packing>
- </child>
- <child>
- <object class="GtkRadioButton"
id="edit_dialog_tlsa_usage_domain_issued_cert_radiobutton">
- <property name="label" translatable="yes">Domain
Issued Cert.</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="xalign">0.5</property>
- <property name="active">True</property>
- <property name="draw_indicator">True</property>
- <property
name="group">edit_dialog_tlsa_usage_ca_radiobutton</property>
- </object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
- <property name="padding">5</property>
- <property name="position">4</property>
- </packing>
- </child>
</object>
<packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
- <object class="GtkHBox"
id="edit_dialog_tlsa_selector_hbox">
+ <object class="GtkFrame" id="edit_dialog_tlsa_frame">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">none</property>
<child>
- <object class="GtkLabel"
id="edit_dialog_tlsa_selector_label">
+ <object class="GtkAlignment"
id="edit_dialog_tlsa_alignment">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label"
translatable="yes">Selector:</property>
+ <property name="top_padding">4</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkVBox"
id="edit_dialog_tlsa_vbox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkHBox"
id="edit_dialog_tlsa_usage_hbox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkLabel"
id="edit_dialog_tlsa_usage_label">
+ <property
name="visible">True</property>
+ <property
name="can_focus">False</property>
+ <property name="label"
translatable="yes">Usage:</property>
+ </object>
+ <packing>
+ <property
name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkRadioButton"
id="edit_dialog_tlsa_usage_ca_radiobutton">
+ <property name="label"
translatable="yes">CA Constr.</property>
+ <property
name="visible">True</property>
+ <property
name="can_focus">True</property>
+ <property
name="receives_default">False</property>
+ <property
name="use_underline">True</property>
+ <property name="xalign">0</property>
+ <property name="active">True</property>
+ <property
name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property
name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkRadioButton"
id="edit_dialog_tlsa_usage_service_cert_radiobutton">
+ <property name="label"
translatable="yes">Service Cert. Constr.</property>
+ <property
name="visible">True</property>
+ <property
name="can_focus">True</property>
+ <property
name="receives_default">False</property>
+ <property
name="use_underline">True</property>
+ <property name="xalign">0</property>
+ <property
name="draw_indicator">True</property>
+ <property
name="group">edit_dialog_tlsa_usage_ca_radiobutton</property>
+ </object>
+ <packing>
+ <property
name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkRadioButton"
id="edit_dialog_tlsa_usage_trust_anchor_radiobutton">
+ <property name="label"
translatable="yes">Trust Anchor Assertion</property>
+ <property
name="visible">True</property>
+ <property
name="can_focus">True</property>
+ <property
name="receives_default">False</property>
+ <property name="xalign">0</property>
+ <property
name="draw_indicator">True</property>
+ <property
name="group">edit_dialog_tlsa_usage_ca_radiobutton</property>
+ </object>
+ <packing>
+ <property
name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">3</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkRadioButton"
id="edit_dialog_tlsa_usage_domain_issued_cert_radiobutton">
+ <property name="label"
translatable="yes">Domain Issued Cert.</property>
+ <property
name="visible">True</property>
+ <property
name="can_focus">True</property>
+ <property
name="receives_default">False</property>
+ <property name="xalign">0</property>
+ <property
name="draw_indicator">True</property>
+ <property
name="group">edit_dialog_tlsa_usage_ca_radiobutton</property>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="padding">5</property>
+ <property name="position">4</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox"
id="edit_dialog_tlsa_selector_hbox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkLabel"
id="edit_dialog_tlsa_selector_label">
+ <property
name="visible">True</property>
+ <property
name="can_focus">False</property>
+ <property name="label"
translatable="yes">Selector:</property>
+ </object>
+ <packing>
+ <property
name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkRadioButton"
id="edit_dialog_tlsa_selector_full_cert_radiobutton">
+ <property name="label"
translatable="yes">Full certificate</property>
+ <property
name="visible">True</property>
+ <property
name="can_focus">True</property>
+ <property
name="receives_default">False</property>
+ <property name="xalign">0</property>
+ <property name="active">True</property>
+ <property
name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property
name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkRadioButton"
id="edit_dialog_tlsa_selector_subject_public_key_radiobutton">
+ <property name="label"
translatable="yes">Subject public key</property>
+ <property
name="visible">True</property>
+ <property
name="can_focus">True</property>
+ <property
name="receives_default">False</property>
+ <property name="xalign">0</property>
+ <property
name="draw_indicator">True</property>
+ <property
name="group">edit_dialog_tlsa_selector_full_cert_radiobutton</property>
+ </object>
+ <packing>
+ <property
name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox"
id="edit_dialog_tlsa_matching_type_hbox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkLabel"
id="edit_dialog_tlsa_matching_type_label">
+ <property
name="visible">True</property>
+ <property
name="can_focus">False</property>
+ <property name="label"
translatable="yes">Matching-Type:</property>
+ </object>
+ <packing>
+ <property
name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkRadioButton"
id="edit_dialog_tlsa_matching_type_full_contents_radiobutton">
+ <property name="label"
translatable="yes">Full contents</property>
+ <property
name="visible">True</property>
+ <property
name="can_focus">True</property>
+ <property
name="receives_default">False</property>
+ <property name="xalign">0</property>
+ <property name="active">True</property>
+ <property
name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property
name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkRadioButton"
id="edit_dialog_tlsa_matching_type_sha256_radiobutton">
+ <property name="label"
translatable="yes">SHA-256</property>
+ <property
name="visible">True</property>
+ <property
name="can_focus">True</property>
+ <property
name="receives_default">False</property>
+ <property name="xalign">0</property>
+ <property
name="draw_indicator">True</property>
+ <property
name="group">edit_dialog_tlsa_matching_type_full_contents_radiobutton</property>
+ </object>
+ <packing>
+ <property
name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkRadioButton"
id="edit_dialog_tlsa_matching_type_sha512_radiobutton">
+ <property name="label"
translatable="yes">SHA-512</property>
+ <property
name="visible">True</property>
+ <property
name="can_focus">True</property>
+ <property
name="receives_default">False</property>
+ <property name="xalign">0</property>
+ <property
name="draw_indicator">True</property>
+ <property
name="group">edit_dialog_tlsa_matching_type_full_contents_radiobutton</property>
+ </object>
+ <packing>
+ <property
name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">3</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox"
id="edit_dialog_tlsa_value_hbox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkLabel"
id="edit_dialog_tlsa_value_label">
+ <property
name="visible">True</property>
+ <property
name="can_focus">False</property>
+ <property name="label"
translatable="yes">Certificate:</property>
+ </object>
+ <packing>
+ <property
name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkTextView"
id="edit_dialog_tlsa_value_textview">
+ <property
name="height_request">100</property>
+ <property
name="visible">True</property>
+ <property
name="can_focus">True</property>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="padding">5</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">3</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox"
id="edit_dialog_tlsa_import_hbox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkLabel"
id="edit_dialog_tlsa_import_label">
+ <property
name="visible">True</property>
+ <property
name="can_focus">False</property>
+ <property name="label"
translatable="yes">Import ID:</property>
+ </object>
+ <packing>
+ <property
name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry"
id="edit_dialog_tlsa_import_entry">
+ <property
name="visible">True</property>
+ <property
name="can_focus">True</property>
+ <property name="tooltip_text"
translatable="yes">Enter identifier to import certificate information from the
network.
+For example, for X.509 specify the DNS name.
+For PGP, specify the key identifier.
+</property>
+ <property
name="max_length">15</property>
+ <property
name="invisible_char">●</property>
+ <property
name="primary_icon_activatable">False</property>
+ <property
name="secondary_icon_activatable">False</property>
+ <signal name="changed"
handler="GNS_edit_dialog_tlsa_entry_changed_cb" swapped="no"/>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="padding">5</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton"
id="edit_dialog_tlsa_import_button">
+ <property
name="label">gtk-convert</property>
+ <property
name="visible">True</property>
+ <property
name="can_focus">True</property>
+ <property
name="receives_default">True</property>
+ <property name="tooltip_text"
translatable="yes">Import Certificate from external source.</property>
+ <property
name="use_stock">True</property>
+ <signal name="clicked"
handler="tlsa_import_button_clicked_cb" swapped="no"/>
+ </object>
+ <packing>
+ <property
name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">4</property>
+ </packing>
+ </child>
+ </object>
+ </child>
</object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">5</property>
- <property name="position">0</property>
- </packing>
</child>
- <child>
- <object class="GtkRadioButton"
id="edit_dialog_tlsa_selector_full_cert_radiobutton">
- <property name="label" translatable="yes">Full
certificate</property>
+ <child type="label">
+ <object class="GtkLabel" id="edit_dialog_tlsa_label">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="xalign">0.5</property>
- <property name="active">True</property>
- <property name="draw_indicator">True</property>
+ <property name="can_focus">False</property>
+ <property name="label"
translatable="yes"><b>TLSA Record Information</b></property>
+ <property name="use_markup">True</property>
</object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">5</property>
- <property name="position">1</property>
- </packing>
</child>
- <child>
- <object class="GtkRadioButton"
id="edit_dialog_tlsa_selector_subject_public_key_radiobutton">
- <property name="label" translatable="yes">Subject
public key</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="xalign">0.5</property>
- <property name="active">True</property>
- <property name="draw_indicator">True</property>
- <property
name="group">edit_dialog_tlsa_selector_full_cert_radiobutton</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">5</property>
- <property name="position">2</property>
- </packing>
- </child>
</object>
<packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
<property name="position">1</property>
</packing>
</child>
<child>
- <object class="GtkHBox"
id="edit_dialog_tlsa_matching_type_hbox">
+ <object class="GtkFrame" id="edit_dialog_options_frame">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">none</property>
<child>
- <object class="GtkLabel"
id="edit_dialog_tlsa_matching_type_label">
+ <object class="GtkAlignment"
id="edit_dialog_options_alignment">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label"
translatable="yes">Matching-Type:</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkVBox"
id="edit_dialog_options_vbox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkCheckButton"
id="edit_dialog_options_public_checkbutton">
+ <property name="label"
translatable="yes">Record is public (visible to other users)</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property
name="receives_default">False</property>
+ <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>
+ <property name="xalign">0</property>
+ <property
name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton"
id="edit_dialog_options_shadow_checkbutton">
+ <property name="label"
translatable="yes">Record is a shadow record (valid after other records
expire)</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property
name="receives_default">False</property>
+ <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>
+ <property name="xalign">0</property>
+ <property
name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton"
id="edit_dialog_options_pending_checkbutton">
+ <property name="label"
translatable="yes">Record is pending approval (not currently usable for
anyone)</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property
name="receives_default">False</property>
+ <property name="xalign">0</property>
+ <property
name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ </child>
</object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">5</property>
- <property name="position">0</property>
- </packing>
</child>
- <child>
- <object class="GtkRadioButton"
id="edit_dialog_tlsa_matching_type_full_contents_radiobutton">
- <property name="label" translatable="yes">Full
contents</property>
+ <child type="label">
+ <object class="GtkLabel"
id="edit_dialog_options_label">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="xalign">0.5</property>
- <property name="active">True</property>
- <property name="draw_indicator">True</property>
+ <property name="can_focus">False</property>
+ <property name="label"
translatable="yes"><b>Options</b></property>
+ <property name="use_markup">True</property>
</object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">5</property>
- <property name="position">1</property>
- </packing>
</child>
- <child>
- <object class="GtkRadioButton"
id="edit_dialog_tlsa_matching_type_sha256_radiobutton">
- <property name="label"
translatable="yes">SHA-256</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="xalign">0.5</property>
- <property name="active">True</property>
- <property name="draw_indicator">True</property>
- <property
name="group">edit_dialog_tlsa_matching_type_full_contents_radiobutton</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">5</property>
- <property name="position">2</property>
- </packing>
- </child>
- <child>
- <object class="GtkRadioButton"
id="edit_dialog_tlsa_matching_type_sha512_radiobutton">
- <property name="label"
translatable="yes">SHA-512</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="xalign">0.5</property>
- <property name="active">True</property>
- <property name="draw_indicator">True</property>
- <property
name="group">edit_dialog_tlsa_matching_type_full_contents_radiobutton</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">5</property>
- <property name="position">3</property>
- </packing>
- </child>
</object>
<packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
<property name="position">2</property>
</packing>
</child>
<child>
- <object class="GtkHBox" id="edit_dialog_tlsa_value_hbox">
+ <object class="GtkFrame"
id="edit_dialog_expiration_frame">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">none</property>
<child>
- <object class="GtkLabel"
id="edit_dialog_tlsa_value_label">
+ <object class="GtkAlignment"
id="edit_dialog_expiration_alignment">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label"
translatable="yes">Certificate:</property>
+ <property name="top_padding">5</property>
+ <property name="bottom_padding">5</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkVBox"
id="edit_dialog_expiration_vbox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="spacing">5</property>
+ <child>
+ <object class="GtkHBox"
id="edit_dialog_expiration_hbox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkRadioButton"
id="edit_dialog_expiration_relative_radiobutton">
+ <property name="label"
translatable="yes">Relative</property>
+ <property
name="visible">True</property>
+ <property
name="can_focus">True</property>
+ <property
name="receives_default">False</property>
+ <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>
+ <property name="xalign">0</property>
+ <property name="active">True</property>
+ <property
name="draw_indicator">True</property>
+ <signal name="toggled"
handler="GNS_edit_dialog_expiration_relative_radiobutton_toggled_cb"
swapped="no"/>
+ </object>
+ <packing>
+ <property
name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkRadioButton"
id="edit_dialog_expiration_absolute_radiobutton">
+ <property name="label"
translatable="yes">Absolute</property>
+ <property
name="visible">True</property>
+ <property
name="can_focus">True</property>
+ <property
name="receives_default">False</property>
+ <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>
+ <property name="xalign">0</property>
+ <property
name="draw_indicator">True</property>
+ <property
name="group">edit_dialog_expiration_relative_radiobutton</property>
+ <signal name="toggled"
handler="GNS_edit_dialog_expiration_absolute_radiobutton_toggled_cb"
swapped="no"/>
+ </object>
+ <packing>
+ <property
name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkRadioButton"
id="edit_dialog_expiration_never_radiobutton">
+ <property name="label"
translatable="yes">Never</property>
+ <property
name="visible">True</property>
+ <property
name="can_focus">True</property>
+ <property
name="receives_default">False</property>
+ <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>
+ <property name="xalign">0</property>
+ <property
name="draw_indicator">True</property>
+ <property
name="group">edit_dialog_expiration_relative_radiobutton</property>
+ </object>
+ <packing>
+ <property
name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCalendar"
id="edit_dialog_expiration_absolute_calendar">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <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>
+ <property name="year">2012</property>
+ <property name="month">9</property>
+ <property name="day">17</property>
+ <property
name="show_week_numbers">True</property>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox"
id="edit_dialog_expiration_absolute_hbox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkLabel"
id="edit_dialog_expiration_absolute_hours_label">
+ <property
name="visible">True</property>
+ <property
name="can_focus">False</property>
+ <property name="label"
translatable="yes">Hours:</property>
+ </object>
+ <packing>
+ <property
name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkSpinButton"
id="edit_dialog_expiration_absolute_hours_spinbutton">
+ <property
name="visible">True</property>
+ <property
name="can_focus">True</property>
+ <property name="tooltip_text"
translatable="yes">Which hour of the day selected above should the record
expire?</property>
+ <property
name="max_length">2</property>
+ <property
name="invisible_char">●</property>
+ <property name="text"
translatable="yes">0</property>
+ <property
name="primary_icon_activatable">False</property>
+ <property
name="secondary_icon_activatable">False</property>
+ <property
name="adjustment">absolute_expiration_hours_adjustment</property>
+ </object>
+ <packing>
+ <property
name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel"
id="edit_dialog_expiration_absolute_minutes_label">
+ <property
name="visible">True</property>
+ <property
name="can_focus">False</property>
+ <property name="label"
translatable="yes">Minutes:</property>
+ </object>
+ <packing>
+ <property
name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkSpinButton"
id="edit_dialog_expiration_absolute_minutes_spinbutton">
+ <property
name="visible">True</property>
+ <property
name="can_focus">True</property>
+ <property name="tooltip_text"
translatable="yes">Which minute of the day selected above should the record
expire?</property>
+ <property
name="max_length">2</property>
+ <property
name="invisible_char">●</property>
+ <property name="text"
translatable="yes">0</property>
+ <property
name="primary_icon_activatable">False</property>
+ <property
name="secondary_icon_activatable">False</property>
+ <property
name="adjustment">absolute_expiration_minutes_adjustment</property>
+ </object>
+ <packing>
+ <property
name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">3</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel"
id="edit_dialog_expiration_absolute_seconds_label">
+ <property
name="visible">True</property>
+ <property
name="can_focus">False</property>
+ <property name="label"
translatable="yes">Seconds:</property>
+ </object>
+ <packing>
+ <property
name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ <property name="position">4</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkSpinButton"
id="edit_dialog_expiration_absolute_seconds_spinbutton">
+ <property
name="visible">True</property>
+ <property
name="can_focus">True</property>
+ <property name="tooltip_text"
translatable="yes">Which second of the day selected above should the record
expire?</property>
+ <property
name="max_length">2</property>
+ <property
name="invisible_char">●</property>
+ <property name="text"
translatable="yes">0</property>
+ <property
name="primary_icon_activatable">False</property>
+ <property
name="secondary_icon_activatable">False</property>
+ <property
name="adjustment">absolute_expiration_seconds_adjustment</property>
+ </object>
+ <packing>
+ <property
name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">5</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBox"
id="edit_dialog_expiration_relative_combobox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <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>
+ <property
name="model">edit_dialog_expiration_relative_liststore</property>
+ <property
name="entry_text_column">0</property>
+ <child>
+ <object class="GtkCellRendererText"
id="edit_dialog_expiration_relative_combobox_cellrenderertext"/>
+ <attributes>
+ <attribute name="text">0</attribute>
+ </attributes>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">3</property>
+ </packing>
+ </child>
+ </object>
+ </child>
</object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">5</property>
- <property name="position">0</property>
- </packing>
</child>
- <child>
- <object class="GtkTextView"
id="edit_dialog_tlsa_value_textview">
- <property name="height_request">100</property>
+ <child type="label">
+ <object class="GtkLabel"
id="edit_dialog_expiration_label">
<property name="visible">True</property>
- <property name="can_focus">True</property>
+ <property name="can_focus">False</property>
+ <property name="label"
translatable="yes"><b>Expiration Time</b></property>
+ <property name="use_markup">True</property>
</object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
- <property name="padding">5</property>
- <property name="position">1</property>
- </packing>
</child>
</object>
<packing>
@@ -476,407 +893,72 @@
<property name="position">3</property>
</packing>
</child>
- <child>
- <object class="GtkHBox"
id="edit_dialog_tlsa_import_hbox">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <child>
- <object class="GtkLabel"
id="edit_dialog_tlsa_import_label">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">Import
ID:</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">5</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkEntry"
id="edit_dialog_tlsa_import_entry">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="tooltip_text"
translatable="yes">Enter identifier to import certificate information from the
network.
-For example, for X.509 specify the DNS name.
-For PGP, specify the key identifier.
-</property>
- <property name="max_length">15</property>
- <property name="invisible_char">●</property>
- <property
name="primary_icon_activatable">False</property>
- <property
name="secondary_icon_activatable">False</property>
- <signal name="changed"
handler="GNS_edit_dialog_tlsa_entry_changed_cb" swapped="no"/>
- </object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
- <property name="padding">5</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkButton"
id="edit_dialog_tlsa_import_button">
- <property name="label">gtk-convert</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <property name="tooltip_text"
translatable="yes">Import Certificate from external source.</property>
- <property name="use_stock">True</property>
- <signal name="clicked"
handler="tlsa_import_button_clicked_cb" swapped="no"/>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">5</property>
- <property name="position">2</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
- <property name="position">4</property>
- </packing>
- </child>
</object>
</child>
</object>
</child>
- <child type="label">
- <object class="GtkLabel" id="edit_dialog_tlsa_label">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes"><b>TLSA Record
Information</b></property>
- <property name="use_markup">True</property>
- </object>
- </child>
</object>
<packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">5</property>
- <property name="position">2</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
</packing>
</child>
- <child>
- <object class="GtkFrame" id="edit_dialog_options_frame">
+ <child internal-child="action_area">
+ <object class="GtkButtonBox" id="edit_dialog_action_area">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label_xalign">0</property>
- <property name="shadow_type">none</property>
+ <property name="layout_style">end</property>
<child>
- <object class="GtkAlignment" id="edit_dialog_options_alignment">
+ <object class="GtkButton" id="edit_dialog_cancel_button">
+ <property name="label">gtk-cancel</property>
<property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="left_padding">12</property>
- <child>
- <object class="GtkVBox" id="edit_dialog_options_vbox">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <child>
- <object class="GtkCheckButton"
id="edit_dialog_options_public_checkbutton">
- <property name="label" translatable="yes">Record is
public (visible to other users)</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <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>
- <property name="xalign">0.5</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkCheckButton"
id="edit_dialog_options_shadow_checkbutton">
- <property name="label" translatable="yes">Record is a
shadow record (valid after other records expire)</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <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>
- <property name="xalign">0.5</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkCheckButton"
id="edit_dialog_options_pending_checkbutton">
- <property name="label" translatable="yes">Record is
pending approval (not currently usable for anyone)</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="xalign">0.5</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
- <property name="position">2</property>
- </packing>
- </child>
- </object>
- </child>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_stock">True</property>
</object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
</child>
- <child type="label">
- <object class="GtkLabel" id="edit_dialog_options_label">
+ <child>
+ <object class="GtkButton" id="edit_dialog_delete_button">
+ <property name="label">gtk-delete</property>
<property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label"
translatable="yes"><b>Options</b></property>
- <property name="use_markup">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_stock">True</property>
</object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
</child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">3</property>
- </packing>
- </child>
- <child>
- <object class="GtkFrame" id="edit_dialog_expiration_frame">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label_xalign">0</property>
- <property name="shadow_type">none</property>
<child>
- <object class="GtkAlignment"
id="edit_dialog_expiration_alignment">
+ <object class="GtkButton" id="edit_dialog_save_button">
+ <property name="label">gtk-save</property>
<property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="top_padding">5</property>
- <property name="bottom_padding">5</property>
- <property name="left_padding">12</property>
- <child>
- <object class="GtkVBox" id="edit_dialog_expiration_vbox">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="spacing">5</property>
- <child>
- <object class="GtkHBox" id="edit_dialog_expiration_hbox">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <child>
- <object class="GtkRadioButton"
id="edit_dialog_expiration_relative_radiobutton">
- <property name="label"
translatable="yes">Relative</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <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>
- <property name="xalign">0.5</property>
- <property name="active">True</property>
- <property name="draw_indicator">True</property>
- <signal name="toggled"
handler="GNS_edit_dialog_expiration_relative_radiobutton_toggled_cb"
swapped="no"/>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkRadioButton"
id="edit_dialog_expiration_absolute_radiobutton">
- <property name="label"
translatable="yes">Absolute</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <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>
- <property name="xalign">0.5</property>
- <property name="active">True</property>
- <property name="draw_indicator">True</property>
- <property
name="group">edit_dialog_expiration_relative_radiobutton</property>
- <signal name="toggled"
handler="GNS_edit_dialog_expiration_absolute_radiobutton_toggled_cb"
swapped="no"/>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkRadioButton"
id="edit_dialog_expiration_never_radiobutton">
- <property name="label"
translatable="yes">Never</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <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>
- <property name="xalign">0.5</property>
- <property name="active">True</property>
- <property name="draw_indicator">True</property>
- <property
name="group">edit_dialog_expiration_relative_radiobutton</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkCalendar"
id="edit_dialog_expiration_absolute_calendar">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <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>
- <property name="year">2012</property>
- <property name="month">9</property>
- <property name="day">17</property>
- <property name="show_week_numbers">True</property>
- </object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkHBox"
id="edit_dialog_expiration_absolute_hbox">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <child>
- <object class="GtkLabel"
id="edit_dialog_expiration_absolute_hours_label">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label"
translatable="yes">Hours:</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">5</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkSpinButton"
id="edit_dialog_expiration_absolute_hours_spinbutton">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="tooltip_text"
translatable="yes">Which hour of the day selected above should the record
expire?</property>
- <property name="max_length">2</property>
- <property name="invisible_char">●</property>
- <property
name="primary_icon_activatable">False</property>
- <property
name="secondary_icon_activatable">False</property>
- <property
name="adjustment">absolute_expiration_hours_adjustment</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel"
id="edit_dialog_expiration_absolute_minutes_label">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label"
translatable="yes">Minutes:</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">5</property>
- <property name="position">2</property>
- </packing>
- </child>
- <child>
- <object class="GtkSpinButton"
id="edit_dialog_expiration_absolute_minutes_spinbutton">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="tooltip_text"
translatable="yes">Which minute of the day selected above should the record
expire?</property>
- <property name="max_length">2</property>
- <property name="invisible_char">●</property>
- <property
name="primary_icon_activatable">False</property>
- <property
name="secondary_icon_activatable">False</property>
- <property
name="adjustment">absolute_expiration_minutes_adjustment</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">3</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel"
id="edit_dialog_expiration_absolute_seconds_label">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label"
translatable="yes">Seconds:</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">5</property>
- <property name="position">4</property>
- </packing>
- </child>
- <child>
- <object class="GtkSpinButton"
id="edit_dialog_expiration_absolute_seconds_spinbutton">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="tooltip_text"
translatable="yes">Which second of the day selected above should the record
expire?</property>
- <property name="max_length">2</property>
- <property name="invisible_char">●</property>
- <property
name="primary_icon_activatable">False</property>
- <property
name="secondary_icon_activatable">False</property>
- <property
name="adjustment">absolute_expiration_seconds_adjustment</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">5</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
- <property name="position">2</property>
- </packing>
- </child>
- <child>
- <object class="GtkComboBox"
id="edit_dialog_expiration_relative_combobox">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <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>
- <property
name="model">edit_dialog_expiration_relative_liststore</property>
- <property name="entry_text_column">0</property>
- <child>
- <object class="GtkCellRendererText"
id="edit_dialog_expiration_relative_combobox_cellrenderertext"/>
- <attributes>
- <attribute name="text">0</attribute>
- </attributes>
- </child>
- </object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
- <property name="position">3</property>
- </packing>
- </child>
- </object>
- </child>
+ <property name="can_focus">True</property>
+ <property name="can_default">True</property>
+ <property name="has_default">True</property>
+ <property name="receives_default">True</property>
+ <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>
+ <property name="use_stock">True</property>
</object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">2</property>
+ </packing>
</child>
- <child type="label">
- <object class="GtkLabel" id="edit_dialog_expiration_label">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes"><b>Expiration
Time</b></property>
- <property name="use_markup">True</property>
- </object>
- </child>
</object>
<packing>
- <property name="expand">True</property>
+ <property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">4</property>
+ <property name="position">1</property>
</packing>
</child>
</object>
@@ -887,4 +969,54 @@
<action-widget response="-5">edit_dialog_save_button</action-widget>
</action-widgets>
</object>
+ <object class="GtkListStore" id="edit_dialog_expiration_relative_liststore">
+ <columns>
+ <!-- column-name relativetime -->
+ <column type="gchararray"/>
+ </columns>
+ <data>
+ <row>
+ <col id="0">7 days</col>
+ </row>
+ <row>
+ <col id="0">1 day</col>
+ </row>
+ <row>
+ <col id="0">1 h</col>
+ </row>
+ </data>
+ </object>
+ <object class="GtkListStore" id="edit_dialog_protocol_liststore">
+ <columns>
+ <!-- column-name protocol_name -->
+ <column type="gchararray"/>
+ <!-- column-name protocol_number -->
+ <column type="guint"/>
+ </columns>
+ <data>
+ <row>
+ <col id="0" translatable="yes">tcp</col>
+ <col id="1">6</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">udp</col>
+ <col id="1">17</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">sctp</col>
+ <col id="1">132</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">dccp</col>
+ <col id="1">33</col>
+ </row>
+ </data>
+ </object>
+ <object class="GtkAdjustment" id="edit_dialog_tlsa_port_adjustment">
+ <property name="lower">1</property>
+ <property name="upper">65535</property>
+ <property name="value">443</property>
+ <property name="step_increment">1</property>
+ <property name="page_increment">10</property>
+ </object>
</interface>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r33557 - gnunet-gtk/contrib,
gnunet <=