From df0e00463c5b55f89471720c1bf4d83e1f428aae Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Fri, 20 Nov 2020 14:09:08 +0200 Subject: Preferences: Added a Gemini proxy --- src/ui/util.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/ui/util.c') diff --git a/src/ui/util.c b/src/ui/util.c index bdb348f9..0f0fa039 100644 --- a/src/ui/util.c +++ b/src/ui/util.c @@ -1111,6 +1111,8 @@ iWidget *makePreferences_Widget(void) { } /* Proxies. */ { appendTwoColumnPage_(tabs, "Proxies", '4', &headings, &values); + addChild_Widget(headings, iClob(makeHeading_Widget("Gemini proxy:"))); + setId_Widget(addChild_Widget(values, iClob(new_InputWidget(0))), "prefs.proxy.gemini"); addChild_Widget(headings, iClob(makeHeading_Widget("Gopher proxy:"))); setId_Widget(addChild_Widget(values, iClob(new_InputWidget(0))), "prefs.proxy.gopher"); addChild_Widget(headings, iClob(makeHeading_Widget("HTTP proxy:"))); @@ -1125,8 +1127,9 @@ iWidget *makePreferences_Widget(void) { arrange_Widget(dlg); /* Set input field sizes. */ { expandInputFieldWidth_(findChild_Widget(tabs, "prefs.downloads")); - expandInputFieldWidth_(findChild_Widget(tabs, "prefs.proxy.http")); + expandInputFieldWidth_(findChild_Widget(tabs, "prefs.proxy.gemini")); expandInputFieldWidth_(findChild_Widget(tabs, "prefs.proxy.gopher")); + expandInputFieldWidth_(findChild_Widget(tabs, "prefs.proxy.http")); } iWidget *div = new_Widget(); { setFlags_Widget(div, arrangeHorizontal_WidgetFlag | arrangeSize_WidgetFlag, iTrue); -- cgit v1.2.3