diff options
author | Gary Kramlich <grim@reaperworld.com> | 2021-06-14 23:02:24 -0500 |
---|---|---|
committer | Gary Kramlich <grim@reaperworld.com> | 2021-06-14 23:02:24 -0500 |
commit | 656ff95f81fe6b68808fc79bb9088e1ddafb2657 (patch) | |
tree | 69b4140a6c1bcff8ca161a2baba080719fd26073 | |
parent | 114ee66ac5c1839deb9c2f0e65e39a13014656a7 (diff) | |
download | pidgin-656ff95f81fe6b68808fc79bb9088e1ddafb2657.tar.gz |
Add a donate link that opens https://imfreedom.org/donate/
Testing Done:
Ran locally
Reviewed at https://reviews.imfreedom.org/r/749/
-rw-r--r-- | pidgin/gtkblist.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pidgin/gtkblist.c b/pidgin/gtkblist.c index 1dc8b44831..96b64cc134 100644 --- a/pidgin/gtkblist.c +++ b/pidgin/gtkblist.c @@ -836,6 +836,11 @@ static void gtk_blist_show_onlinehelp_cb(void) } static void +gtk_blist_donate_cb(void) { + purple_notify_uri(NULL, "https://imfreedom.org/donate/"); +} + +static void do_join_chat(PidginChatData *data) { if (data) @@ -3647,6 +3652,7 @@ static GtkItemFactoryEntry blist_menu[] = /* Help */ { N_("/_Help"), NULL, NULL, 0, "<Branch>", NULL }, { N_("/Help/Online _Help"), "F1", gtk_blist_show_onlinehelp_cb, 0, "<StockItem>", GTK_STOCK_HELP }, + { N_("/Help/D_onate"), NULL, gtk_blist_donate_cb, 0, "<Item>", NULL }, { "/Help/sep1", NULL, NULL, 0, "<Separator>", NULL }, { N_("/Help/_Build Information"), NULL, pidgin_dialogs_buildinfo, 0, "<Item>", NULL }, { N_("/Help/_Debug Window"), NULL, toggle_debug, 0, "<Item>", NULL }, |