diff plugins/gevolution/gevolution.c @ 10662:54ac161a876e

[gaim-migrate @ 12199] Plugins can now add submenus to the right-click menu of a blist node by passing a GList of actions to gaim_blist_node_action_new. I'm thinking about making GaimBlistNodeActions more like plugin prefs so that plugins can create radio and check menu items as well. We'll see if I can do that and not make it ugly/suck. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Mon, 07 Mar 2005 02:19:09 +0000
parents ff4be2d1401d
children ea65b2abd8d2
line wrap: on
line diff
--- a/plugins/gevolution/gevolution.c	Mon Mar 07 01:25:05 2005 +0000
+++ b/plugins/gevolution/gevolution.c	Mon Mar 07 02:19:09 2005 +0000
@@ -219,7 +219,8 @@
 	if (gevo_prpl_is_supported(buddy->account, buddy))
 	{
 		act = gaim_blist_node_action_new(_("Add to Address Book"),
-										 menu_item_activate_cb, NULL);
+		                                 menu_item_activate_cb,
+		                                 NULL, NULL);
 		*menu = g_list_append(*menu, act);
 	}
 }