From d7de7fe9427df19497b336dd4a5eca61055bd437 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Mon, 24 Jul 2017 20:58:16 +0200 Subject: Add description to GuiForm fields And improve GTK implementation of GuiForm to use GtkGrid instead of GtkBox --- src/monitor-gui.cc | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'src/monitor-gui.cc') diff --git a/src/monitor-gui.cc b/src/monitor-gui.cc index fa43169..806f8da 100644 --- a/src/monitor-gui.cc +++ b/src/monitor-gui.cc @@ -503,14 +503,16 @@ public: new SetupFormListener()); connect_.reset( GuiFormApply::create("Setup...", - "Setup a proxy to start monitoring traffic." - " Leave bind empty to listen on all interfaces.", + "Setup a proxy to start monitoring traffic.", "Setup", dlg.get())); connect_->add_string("bind", "Address", - main_->config()->get("bind", "")); - connect_->add_string("port", "port", - main_->config()->get("port", "8080")); + main_->config()->get("bind", ""), + "Address to listen for proxy connections on." + " Leave empty to listen on all interfaces."); + connect_->add_string("port", "Port", + main_->config()->get("port", "8080"), + "Port to listen for proxy connections on."); connect_->add_listener(lst.get()); if (connect_->show(main_.get())) { monitor_->attach(); @@ -532,7 +534,8 @@ public: "Connect", dlg.get())); connect_->add_string("address", "Address", - main_->config()->get("connect", "")); + main_->config()->get("connect", ""), + "Host and optional port (defaults to 9000)"); connect_->add_listener(lst.get()); if (connect_->show(main_.get())) { monitor_->attach(); -- cgit v1.2.3-70-g09d2