aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/gnunet_setup_gns_edit_pkey.glade4
-rw-r--r--contrib/gnunet_setup_gns_edit_vpn.glade2
-rw-r--r--contrib/gnunet_setup_gtk_main_window.glade2
-rw-r--r--src/setup/gnunet-setup-gns-edit.c4
-rw-r--r--src/setup/gnunet-setup-gns.c4
-rw-r--r--src/setup/gnunet-setup-options.c2
-rw-r--r--src/setup/gnunet-setup.c2
7 files changed, 10 insertions, 10 deletions
diff --git a/contrib/gnunet_setup_gns_edit_pkey.glade b/contrib/gnunet_setup_gns_edit_pkey.glade
index a260face..c736a500 100644
--- a/contrib/gnunet_setup_gns_edit_pkey.glade
+++ b/contrib/gnunet_setup_gns_edit_pkey.glade
@@ -237,7 +237,7 @@
237 <property name="visible">True</property> 237 <property name="visible">True</property>
238 <property name="can_focus">True</property> 238 <property name="can_focus">True</property>
239 <property name="has_focus">True</property> 239 <property name="has_focus">True</property>
240 <property name="tooltip_text" translatable="yes">Enter the hash of the public key of the authority here.</property> 240 <property name="tooltip_text" translatable="yes">Enter the public key of the authority here.</property>
241 <property name="max_length">105</property> 241 <property name="max_length">105</property>
242 <property name="invisible_char">●</property> 242 <property name="invisible_char">●</property>
243 <property name="primary_icon_activatable">False</property> 243 <property name="primary_icon_activatable">False</property>
@@ -260,7 +260,7 @@
260 <object class="GtkLabel" id="edit_dialog_pkey_label"> 260 <object class="GtkLabel" id="edit_dialog_pkey_label">
261 <property name="visible">True</property> 261 <property name="visible">True</property>
262 <property name="can_focus">False</property> 262 <property name="can_focus">False</property>
263 <property name="label" translatable="yes">&lt;b&gt;GADS authority for the subzone (PKEY)&lt;/b&gt;</property> 263 <property name="label" translatable="yes">&lt;b&gt;GNS authority for the subzone (PKEY)&lt;/b&gt;</property>
264 <property name="use_markup">True</property> 264 <property name="use_markup">True</property>
265 </object> 265 </object>
266 </child> 266 </child>
diff --git a/contrib/gnunet_setup_gns_edit_vpn.glade b/contrib/gnunet_setup_gns_edit_vpn.glade
index 4411b8e8..aef35da1 100644
--- a/contrib/gnunet_setup_gns_edit_vpn.glade
+++ b/contrib/gnunet_setup_gns_edit_vpn.glade
@@ -362,7 +362,7 @@
362 <object class="GtkLabel" id="edit_dialog_vpn_label"> 362 <object class="GtkLabel" id="edit_dialog_vpn_label">
363 <property name="visible">True</property> 363 <property name="visible">True</property>
364 <property name="can_focus">False</property> 364 <property name="can_focus">False</property>
365 <property name="label" translatable="yes">&lt;b&gt;GNUnet VPN address (GADS only)&lt;/b&gt;</property> 365 <property name="label" translatable="yes">&lt;b&gt;GNUnet VPN address (GNS only)&lt;/b&gt;</property>
366 <property name="use_markup">True</property> 366 <property name="use_markup">True</property>
367 </object> 367 </object>
368 </child> 368 </child>
diff --git a/contrib/gnunet_setup_gtk_main_window.glade b/contrib/gnunet_setup_gtk_main_window.glade
index 589f8d36..d1d29bfb 100644
--- a/contrib/gnunet_setup_gtk_main_window.glade
+++ b/contrib/gnunet_setup_gtk_main_window.glade
@@ -4519,7 +4519,7 @@
4519 <object class="GtkCellRendererCombo" id="GNUNET_setup_gns_type_cellrenderercombo"> 4519 <object class="GtkCellRendererCombo" id="GNUNET_setup_gns_type_cellrenderercombo">
4520 <property name="model">GNUNET_setup_gns_type_liststore</property> 4520 <property name="model">GNUNET_setup_gns_type_liststore</property>
4521 <property name="text_column">1</property> 4521 <property name="text_column">1</property>
4522 <signal name="changed" handler="GNUNET_setup_gns_type_cellrenderercombo_changed_cb" swapped="no"/> 4522 <signal name="edited" handler="GNUNET_setup_gns_type_cellrenderercombo_edited_cb" swapped="no"/>
4523 </object> 4523 </object>
4524 <attributes> 4524 <attributes>
4525 <attribute name="visible">10</attribute> 4525 <attribute name="visible">10</attribute>
diff --git a/src/setup/gnunet-setup-gns-edit.c b/src/setup/gnunet-setup-gns-edit.c
index 362b1ce0..7bfed4db 100644
--- a/src/setup/gnunet-setup-gns-edit.c
+++ b/src/setup/gnunet-setup-gns-edit.c
@@ -1126,14 +1126,14 @@ edit_dialog_pkey_validity_check (struct EditDialogContext *edc)
1126{ 1126{
1127 GtkEditable *entry; 1127 GtkEditable *entry;
1128 const gchar *preedit; 1128 const gchar *preedit;
1129 struct GNUNET_HashCode hc; 1129 struct GNUNET_CRYPTO_EccPublicKey pub;
1130 1130
1131 entry = GTK_EDITABLE (gtk_builder_get_object (edc->builder, 1131 entry = GTK_EDITABLE (gtk_builder_get_object (edc->builder,
1132 "edit_dialog_pkey_entry")), 1132 "edit_dialog_pkey_entry")),
1133 preedit = gtk_editable_get_chars (entry, 0, -1); 1133 preedit = gtk_editable_get_chars (entry, 0, -1);
1134 if ( (NULL == preedit) || 1134 if ( (NULL == preedit) ||
1135 (GNUNET_OK != 1135 (GNUNET_OK !=
1136 GNUNET_CRYPTO_hash_from_string (preedit, &hc)) ) 1136 GNUNET_CRYPTO_ecc_public_key_from_string (preedit, &pub)) )
1137 { 1137 {
1138 edit_dialog_disable_save (edc); 1138 edit_dialog_disable_save (edc);
1139 return; 1139 return;
diff --git a/src/setup/gnunet-setup-gns.c b/src/setup/gnunet-setup-gns.c
index 768054e1..1c37036a 100644
--- a/src/setup/gnunet-setup-gns.c
+++ b/src/setup/gnunet-setup-gns.c
@@ -1148,7 +1148,7 @@ check_permissions (struct RecordInfo *ri,
1148 show_error_message (_("Record combination not permitted"), 1148 show_error_message (_("Record combination not permitted"),
1149 _("Given the existing records, adding a new record of this type is not allowed.\n" 1149 _("Given the existing records, adding a new record of this type is not allowed.\n"
1150 "CNAME and PKEY records cannot co-exist with other records.\n" 1150 "CNAME and PKEY records cannot co-exist with other records.\n"
1151 "NS records in GADS can only co-exist with A and AAAA records.\n")); 1151 "NS records in GNS can only co-exist with A and AAAA records.\n"));
1152 return GNUNET_NO; 1152 return GNUNET_NO;
1153 } 1153 }
1154 return GNUNET_OK; 1154 return GNUNET_OK;
@@ -1296,7 +1296,7 @@ GNUNET_setup_gns_name_cellrenderertext_edited_cb (GtkCellRendererText *renderer,
1296 (0 != strcmp (new_text, GNUNET_GNS_MASTERZONE_STR)) ) 1296 (0 != strcmp (new_text, GNUNET_GNS_MASTERZONE_STR)) )
1297 { 1297 {
1298 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, 1298 GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
1299 _("Name `%s' invalid for GADS/DNS (too long for a DNS label?)\n"), 1299 _("Name `%s' invalid for GNS/DNS (too long for a DNS label?)\n"),
1300 new_text); 1300 new_text);
1301 gdk_beep (); 1301 gdk_beep ();
1302 return; 1302 return;
diff --git a/src/setup/gnunet-setup-options.c b/src/setup/gnunet-setup-options.c
index 9cd2a19f..f376961e 100644
--- a/src/setup/gnunet-setup-options.c
+++ b/src/setup/gnunet-setup-options.c
@@ -1966,7 +1966,7 @@ const struct GNUNET_SETUP_OptionSpecification option_specifications[] = {
1966 NULL}, 1966 NULL},
1967 1967
1968 1968
1969 /* GADS/GNS */ 1969 /* GNS */
1970 1970
1971 { 1971 {
1972 "GNUNET_setup_general_services_gns_checkbutton", 1972 "GNUNET_setup_general_services_gns_checkbutton",
diff --git a/src/setup/gnunet-setup.c b/src/setup/gnunet-setup.c
index e22155fd..1acd6237 100644
--- a/src/setup/gnunet-setup.c
+++ b/src/setup/gnunet-setup.c
@@ -125,7 +125,7 @@ help_click_callback (GtkWidget * widget, GdkEventButton * event,
125 125
126/** 126/**
127 * The main visible page in our main notebook changed. If the 127 * The main visible page in our main notebook changed. If the
128 * GADS page is visible, hide the help text, otherwise show it. 128 * GNS page is visible, hide the help text, otherwise show it.
129 */ 129 */
130void 130void
131GNUNET_setup_notebook_switch_page_cb (GtkNotebook *notebook, 131GNUNET_setup_notebook_switch_page_cb (GtkNotebook *notebook,