From: Etan R. <de...@us...> - 2005-03-07 02:19:42
|
Update of /cvsroot/gaim/gaim/plugins/gevolution In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5303/plugins/gevolution Modified Files: gevolution.c Log Message: 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. Index: gevolution.c =================================================================== RCS file: /cvsroot/gaim/gaim/plugins/gevolution/gevolution.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -p -r1.11 -r1.12 --- gevolution.c 6 Oct 2004 03:17:24 -0000 1.11 +++ gevolution.c 7 Mar 2005 02:19:02 -0000 1.12 @@ -219,7 +219,8 @@ blist_node_extended_menu_cb(GaimBlistNod 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); } } |