tUpdate config editor for new metaserver config - vaccinewars - be a doctor and try to vaccinate the world
(HTM) git clone git://src.adamsgaard.dk/vaccinewars
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 7722aebe43c181b6dfc29221a4b17381fde83767
(DIR) parent a59b2984f994c7885a2351e5db7df876609ff741
(HTM) Author: Ben Webb <ben@salilab.org>
Date: Sat, 31 Oct 2020 23:23:13 -0700
Update config editor for new metaserver config
Diffstat:
M src/gui_client/optdialog.c | 18 +++---------------
1 file changed, 3 insertions(+), 15 deletions(-)
---
(DIR) diff --git a/src/gui_client/optdialog.c b/src/gui_client/optdialog.c
t@@ -914,17 +914,11 @@ void OptDialog(GtkWidget *widget, gpointer data)
gtk_table_attach_defaults(GTK_TABLE(table), check, 2, 4, 0, 1);
#endif
- label = gtk_label_new(_("Metaserver hostname"));
+ label = gtk_label_new(_("Metaserver URL"));
gtk_table_attach(GTK_TABLE(table), label, 0, 1, 1, 2,
GTK_SHRINK, GTK_SHRINK, 0, 0);
- entry = NewConfigEntry("MetaServer.Name");
- gtk_table_attach_defaults(GTK_TABLE(table), entry, 1, 2, 1, 2);
-
- label = gtk_label_new(_("Port"));
- gtk_table_attach(GTK_TABLE(table), label, 2, 3, 1, 2,
- GTK_SHRINK, GTK_SHRINK, 0, 0);
- entry = NewConfigEntry("MetaServer.Port");
- gtk_table_attach_defaults(GTK_TABLE(table), entry, 3, 4, 1, 2);
+ entry = NewConfigEntry("MetaServer.URL");
+ gtk_table_attach_defaults(GTK_TABLE(table), entry, 1, 4, 1, 2);
label = gtk_label_new(_("Web proxy hostname"));
gtk_table_attach(GTK_TABLE(table), label, 0, 1, 2, 3,
t@@ -938,12 +932,6 @@ void OptDialog(GtkWidget *widget, gpointer data)
entry = NewConfigEntry("MetaServer.ProxyPort");
gtk_table_attach_defaults(GTK_TABLE(table), entry, 3, 4, 2, 3);
- label = gtk_label_new(_("Script path"));
- gtk_table_attach(GTK_TABLE(table), label, 0, 1, 3, 4,
- GTK_SHRINK, GTK_SHRINK, 0, 0);
- entry = NewConfigEntry("MetaServer.Path");
- gtk_table_attach_defaults(GTK_TABLE(table), entry, 1, 4, 3, 4);
-
label = gtk_label_new(_("Comment"));
gtk_table_attach(GTK_TABLE(table), label, 0, 1, 4, 5,
GTK_SHRINK, GTK_SHRINK, 0, 0);