aboutsummaryrefslogtreecommitdiff
path: root/src/setup/gnunet-setup-options.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/setup/gnunet-setup-options.c')
-rw-r--r--src/setup/gnunet-setup-options.c36
1 files changed, 31 insertions, 5 deletions
diff --git a/src/setup/gnunet-setup-options.c b/src/setup/gnunet-setup-options.c
index 681d7c45..f4c0a1f7 100644
--- a/src/setup/gnunet-setup-options.c
+++ b/src/setup/gnunet-setup-options.c
@@ -781,10 +781,10 @@ static struct GNUNET_SETUP_VisibilitySpecification hide_vpn_tab[] = {
781 781
782 782
783/** 783/**
784 * Hide "gns" and "namestore" tabs if GNS not active. 784 * Hide "gads" and "namestore" tabs if GNS not active.
785 */ 785 */
786static struct GNUNET_SETUP_VisibilitySpecification hide_gns_tab[] = { 786static struct GNUNET_SETUP_VisibilitySpecification hide_gns_tabs[] = {
787 {"GNUNET_setup_gns_vbox", "(^| )gns($| )", NULL}, 787 {"GNUNET_setup_gads_vbox", "(^| )gns($| )", NULL},
788 {"GNUNET_setup_namestore_vbox", "(^| )gns($| )", NULL}, 788 {"GNUNET_setup_namestore_vbox", "(^| )gns($| )", NULL},
789 {NULL, NULL, NULL} 789 {NULL, NULL, NULL}
790}; 790};
@@ -1965,7 +1965,8 @@ const struct GNUNET_SETUP_OptionSpecification option_specifications[] = {
1965 NULL, NULL, 1965 NULL, NULL,
1966 NULL}, 1966 NULL},
1967 1967
1968 /* GNS treeview */ 1968
1969 /* GADS/GNS */
1969 1970
1970 { 1971 {
1971 "GNUNET_setup_general_services_gns_checkbutton", 1972 "GNUNET_setup_general_services_gns_checkbutton",
@@ -1977,7 +1978,32 @@ const struct GNUNET_SETUP_OptionSpecification option_specifications[] = {
1977 &load_option_list, 1978 &load_option_list,
1978 &save_option_list, "gns", 1979 &save_option_list, "gns",
1979 NULL, NULL, 1980 NULL, NULL,
1980 hide_gns_tab}, 1981 hide_gns_tabs},
1982
1983
1984 {
1985 "GNUNET_setup_gns_hijack_checkbutton",
1986 "toggled",
1987 "gns",
1988 "HIJACK_DNS",
1989 gettext_noop ("Should DNS queries be intercepted using iptables?"),
1990 "https://gnunet.org/gnunet-dns-setup",
1991 &load_yes_no,
1992 &save_yes_no, NULL,
1993 NULL, NULL,
1994 NULL},
1995
1996 {
1997 "GNUNET_setup_gns_auto_import_checkbutton",
1998 "toggled",
1999 "gns",
2000 "AUTO_IMPORT_PKEY",
2001 gettext_noop ("Should names be automatically learned and placed into the 'shorten' Zone?"),
2002 "https://gnunet.org/configuration-gns-shortening",
2003 &load_yes_no,
2004 &save_yes_no, NULL,
2005 NULL, NULL,
2006 NULL},
1981 2007
1982 /* END of list */ 2008 /* END of list */
1983 2009