aboutsummaryrefslogtreecommitdiffstats
path: root/ui/help_url.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2019-12-02 10:43:08 -0800
committerAnders Broman <a.broman58@gmail.com>2019-12-03 03:16:16 +0000
commit997e21d1e9d71bbf13a5d49307ed171ba6afbeda (patch)
tree9e7e24b7568732522259d89c16b18764cd4cb6ea /ui/help_url.c
parentba2e69bc0d57bcb2e2db548612f3df899e5086aa (diff)
Qt: Rename the Capture Interfaces dialog to Capture Options.
Rename Capture Interfaces to Capture Options to match its main menu item. "Options" also more closely matches what the dialog actually does. Fixup a help item URL while we're here. Change-Id: Iec8bdfc9f7ae6fc4fd9e97bb366b63cff139f3a6 Reviewed-on: https://code.wireshark.org/review/35294 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/help_url.c')
-rw-r--r--ui/help_url.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/ui/help_url.c b/ui/help_url.c
index d8aee0ffb6..37699748c1 100644
--- a/ui/help_url.c
+++ b/ui/help_url.c
@@ -24,6 +24,10 @@
#include <wsutil/unicode-utils.h>
#endif
+// To do:
+// - Automatically generate part or all of this, e.g. by parsing
+// the DocBook XML or the chunked HTML.
+
const char *
topic_online_url(topic_action_e action)
{
@@ -164,7 +168,7 @@ topic_action_url(topic_action_e action)
case(HELP_CONTENT):
url = user_guide_url( "index.html");
break;
- case(HELP_CAPTURE_OPTIONS_DIALOG):
+ case(HELP_CAPTURE_OPTIONS):
url = user_guide_url("ChCapCaptureOptions.html");
break;
case(HELP_CAPTURE_FILTERS_DIALOG):
@@ -197,8 +201,8 @@ topic_action_url(topic_action_e action)
case(HELP_GOTO_DIALOG):
url = user_guide_url("ChWorkGoToPacketSection.html");
break;
- case(HELP_CAPTURE_INTERFACES_DIALOG):
- url = user_guide_url("ChCapInterfaceSection.html");
+ case(HELP_CAPTURE_OPTIONS_DIALOG):
+ url = user_guide_url("ChCapCaptureOptions.html");
break;
case(HELP_CAPTURE_INFO_DIALOG):
url = user_guide_url("ChCapRunningSection.html");