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.c24
1 files changed, 21 insertions, 3 deletions
diff --git a/src/setup/gnunet-setup-options.c b/src/setup/gnunet-setup-options.c
index bc6e2cb7..bac91bf5 100644
--- a/src/setup/gnunet-setup-options.c
+++ b/src/setup/gnunet-setup-options.c
@@ -1410,7 +1410,6 @@ static struct GNUNET_SETUP_VisibilitySpecification
1410}; 1410};
1411 1411
1412 1412
1413
1414/** 1413/**
1415 * Hide "fs tab" if FS not active. 1414 * Hide "fs tab" if FS not active.
1416 */ 1415 */
@@ -1420,7 +1419,6 @@ static struct GNUNET_SETUP_VisibilitySpecification hide_fs_tab[] = {
1420}; 1419};
1421 1420
1422 1421
1423
1424/** 1422/**
1425 * Hide "vpn tab" if VPN not active. 1423 * Hide "vpn tab" if VPN not active.
1426 */ 1424 */
@@ -1430,6 +1428,14 @@ static struct GNUNET_SETUP_VisibilitySpecification hide_vpn_tab[] = {
1430}; 1428};
1431 1429
1432 1430
1431/**
1432 * Hide "gns tab" if GNS not active.
1433 */
1434static struct GNUNET_SETUP_VisibilitySpecification hide_gns_tab[] = {
1435 {"GNUNET_setup_gns_vbox", "(^| )gns($| )", NULL},
1436 {NULL, NULL, NULL}
1437};
1438
1433 1439
1434/** 1440/**
1435 * Hide "tcp tab" if TCP not active. 1441 * Hide "tcp tab" if TCP not active.
@@ -2535,7 +2541,19 @@ const struct GNUNET_SETUP_OptionSpecification option_specifications[] = {
2535 NULL, NULL, 2541 NULL, NULL,
2536 NULL}, 2542 NULL},
2537 2543
2538 /* DNS treeview */ 2544 /* GNS treeview */
2545
2546 {
2547 "GNUNET_setup_general_services_gns_checkbutton",
2548 "toggled",
2549 "arm",
2550 "DEFAULTSERVICES",
2551 gettext_noop ("Should the GNS be started automatically on startup?"),
2552 "https://gnunet.org/configuration-gns",
2553 &load_option_list,
2554 &save_option_list, "gns",
2555 NULL, NULL,
2556 hide_gns_tab},
2539 2557
2540 { 2558 {
2541 "GNUNET_setup_gns_treeview", 2559 "GNUNET_setup_gns_treeview",