diff options
author | Guy Harris <gharris@sonic.net> | 2020-10-02 19:17:00 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2020-10-02 20:13:42 -0700 |
commit | e013c5ec7f175f4e12f20f201d639e64609960de (patch) | |
tree | 4eab00bd869dc44e1898e228d5fdcc42db2d8417 /file.c | |
parent | 22e7ddb63789ff603641be116ee24834ca7631f9 (diff) |
Clean up URLs.
Add ui/urls.h to define some URLs on various of our websites. Use the
GitLab URL for the wiki. Add a macro to generate wiki URLs.
Update wiki URLs in comments etc.
Use the #defined URL for the docs page in
WelcomePage::on_helpLabel_clicked; that removes the last user of
topic_online_url(), so get rid of it and swallow it up into
topic_action_url().
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -52,6 +52,7 @@ #include "ui/simple_dialog.h" #include "ui/main_statusbar.h" #include "ui/progress_dlg.h" +#include "ui/urls.h" #include "ui/ws_ui_util.h" /* Needed for addrinfo */ @@ -634,7 +635,7 @@ cf_read(capture_file *cf, gboolean reloading) CATCH(OutOfMemoryError) { simple_message_box(ESD_TYPE_ERROR, NULL, "More information and workarounds can be found at\n" - "https://wiki.wireshark.org/KnownBugs/OutOfMemory", + WS_WIKI_URL("KnownBugs/OutOfMemory"), "Sorry, but Wireshark has run out of memory and has to terminate now."); #if 0 /* Could we close the current capture and free up memory from that? */ @@ -812,7 +813,7 @@ cf_continue_tail(capture_file *cf, volatile int to_read, wtap_rec *rec, CATCH(OutOfMemoryError) { simple_message_box(ESD_TYPE_ERROR, NULL, "More information and workarounds can be found at\n" - "https://wiki.wireshark.org/KnownBugs/OutOfMemory", + WS_WIKI_URL("KnownBugs/OutOfMemory"), "Sorry, but Wireshark has run out of memory and has to terminate now."); #if 0 /* Could we close the current capture and free up memory from that? */ |