pidgin/pidgin

Add a donate link that opens https://imfreedom.org/donate/
release-2.x.y
2021-06-14, Gary Kramlich
13a246aa0656
Parents 2f616a33f583
Children 1d8612429d16
Add a donate link that opens https://imfreedom.org/donate/

Testing Done:
Ran locally

Reviewed at https://reviews.imfreedom.org/r/749/
--- a/pidgin/gtkblist.c Mon Jun 07 23:00:13 2021 -0500
+++ b/pidgin/gtkblist.c Mon Jun 14 23:02:24 2021 -0500
@@ -836,6 +836,11 @@
}
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 @@
/* 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 },