summaryrefslogtreecommitdiffstats
path: root/ui/help_url.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:53 +0000
commita86c5f7cae7ec9a3398300555a0b644689d946a1 (patch)
tree39fe4b107c71174fd1e8a8ceb9a4d2aa14116248 /ui/help_url.c
parentReleasing progress-linux version 4.2.6-1~progress7.99u1. (diff)
downloadwireshark-a86c5f7cae7ec9a3398300555a0b644689d946a1.tar.xz
wireshark-a86c5f7cae7ec9a3398300555a0b644689d946a1.zip
Merging upstream version 4.4.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ui/help_url.c')
-rw-r--r--ui/help_url.c20
1 files changed, 13 insertions, 7 deletions
diff --git a/ui/help_url.c b/ui/help_url.c
index ec016ddb..a0afcbfa 100644
--- a/ui/help_url.c
+++ b/ui/help_url.c
@@ -27,8 +27,8 @@
/*
* Open the help dialog and show a specific HTML help page.
*/
-gchar *
-user_guide_url(const gchar *page) {
+char *
+user_guide_url(const char *page) {
GString *url = g_string_new("");
#if defined(_WIN32)
@@ -61,10 +61,10 @@ user_guide_url(const gchar *page) {
return g_string_free(url, FALSE);
}
-gchar *
+char *
topic_action_url(topic_action_e action)
{
- gchar *url;
+ char *url;
switch(action) {
/* pages online at www.wireshark.org */
@@ -104,9 +104,6 @@ topic_action_url(topic_action_e action)
case(ONLINEPAGE_SECURITY):
url = g_strdup(WS_WIKI_URL("Security"));
break;
- case(ONLINEPAGE_CHIMNEY):
- url = g_strdup(WS_WIKI_URL("CaptureSetup/Offloading#chimney"));
- break;
/* local manual pages */
case(LOCALPAGE_MAN_WIRESHARK):
@@ -158,6 +155,9 @@ topic_action_url(topic_action_e action)
case(HELP_DISPLAY_FILTERS_DIALOG):
url = user_guide_url("ChWorkDefineFilterSection.html");
break;
+ case(HELP_DISPLAY_MACRO_DIALOG):
+ url = user_guide_url("ChWorkDefineFilterMacrosSection.html");
+ break;
case(HELP_FILTER_EXPRESSION_DIALOG):
url = user_guide_url("ChWorkFilterAddExpressionSection.html");
break;
@@ -255,6 +255,12 @@ topic_action_url(topic_action_e action)
case(HELP_EXPORT_BYTES_DIALOG):
url = user_guide_url("ChIOExportSection.html#ChIOExportSelectedDialog");
break;
+ case(HELP_EXPORT_PDUS_DIALOG):
+ url = user_guide_url("ChIOExportSection.html#ChIOExportPDUSDialog");
+ break;
+ case(HELP_STRIP_HEADERS_DIALOG):
+ url = user_guide_url("ChIOExportSection.html#ChIOStripHeadersDialog");
+ break;
case(HELP_EXPORT_OBJECT_LIST):
url = user_guide_url("ChIOExportSection.html#ChIOExportObjectsDialog");
break;