aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/gnunet-namestore-gtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/gnunet-namestore-gtk.c')
-rw-r--r--src/namestore/gnunet-namestore-gtk.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/namestore/gnunet-namestore-gtk.c b/src/namestore/gnunet-namestore-gtk.c
index a837d19b..1867f496 100644
--- a/src/namestore/gnunet-namestore-gtk.c
+++ b/src/namestore/gnunet-namestore-gtk.c
@@ -1610,10 +1610,6 @@ launch_edit_dialog (gint n_type,
1610 GNUNET_STRINGS_utf8_tolower (edc->liblow, 1610 GNUNET_STRINGS_utf8_tolower (edc->liblow,
1611 edc->liblow); 1611 edc->liblow);
1612 edc->plugin = GNUNET_PLUGIN_load (edc->liblow, edc); 1612 edc->plugin = GNUNET_PLUGIN_load (edc->liblow, edc);
1613 if (0 != edc->plugin->record_type)
1614 edc->record_type = edc->plugin->record_type;
1615 else
1616 edc->record_type = n_type;
1617 if (NULL == edc->plugin) 1613 if (NULL == edc->plugin)
1618 { 1614 {
1619 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 1615 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
@@ -1623,6 +1619,10 @@ launch_edit_dialog (gint n_type,
1623 GTK_RESPONSE_CANCEL); 1619 GTK_RESPONSE_CANCEL);
1624 return; 1620 return;
1625 } 1621 }
1622 if (0 != edc->plugin->record_type)
1623 edc->record_type = edc->plugin->record_type;
1624 else
1625 edc->record_type = n_type;
1626 edc->builder = GNUNET_GTK_get_new_builder2 (edc->plugin->dialog_glade_filename, 1626 edc->builder = GNUNET_GTK_get_new_builder2 (edc->plugin->dialog_glade_filename,
1627 edc, 1627 edc,
1628 &add_symbols); 1628 &add_symbols);