summaryrefslogtreecommitdiffstats
path: root/ui/help_url.c
diff options
context:
space:
mode:
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;