pidgin/pidgin

Fix online help link.

2020-07-01, Alejandro Garcia <>
65040053e80f
Parents cfcc32ea06a8
Children bbfbd18dade2
Fix online help link.

The "Help Online" button on Pidgin 3 is broken, when you click on it, it sends you to [https://pidgin.imhelp/](https://pidgin.imhelp/) instead of [https://pidgin.im/help](https://pidgin.im/help).

On prior releases (at least on 2.x.y) the `PURPLE_WEBSITE` constant was defined as [https://pidgin.im/](https://pidgin.im/) but in Pidgin 3 it's defined as [https:pidgin.im](https:pidgin.im).

That's why ` purple_notify_uri(NULL, PURPLE_WEBSITE "help"); ` send us to [https://pidgin.imhelp](https://pidgin.imhelp).

Changing `purple_notify_uri(NULL, PURPLE_WEBSITE "help");` to `purple_notify_uri(NULL, PURPLE_WEBSITE "/help");` could help, however I decided to change the value of `-DPURPLE_WEBSITE` to be persistent with prior releases.

Reviewed at https://reviews.imfreedom.org/r/16/
  • +2 -2
    meson.build
  • --- a/meson.build Mon Jun 29 21:24:32 2020 +0000
    +++ b/meson.build Wed Jul 01 02:20:14 2020 -0500
    @@ -43,7 +43,7 @@
    '-DHAVE_CONFIG_H=1',
    '-DVERSION="@0@"'.format(meson.project_version()),
    '-DDISPLAY_VERSION="@0@"'.format(meson.project_version()),
    - '-DPURPLE_WEBSITE="https://pidgin.im"',
    + '-DPURPLE_WEBSITE="https://pidgin.im/"',
    '-DGETTEXT_PACKAGE="@0@"'.format(GETTEXT_PACKAGE)],
    language : 'c')
    conf = configuration_data()
    @@ -606,7 +606,7 @@
    add_project_arguments([
    '-DHAVE_CONFIG_H=1',
    '-DDISPLAY_VERSION="@0@"'.format(meson.project_version()),
    - '-DPURPLE_WEBSITE="https://pidgin.im"',
    + '-DPURPLE_WEBSITE="https://pidgin.im/"',
    '-DGETTEXT_PACKAGE="@0@"'.format(GETTEXT_PACKAGE)],
    language : 'cpp')