From: Etan R. <de...@us...> - 2005-03-07 02:19:45
|
Update of /cvsroot/gaim/gaim/src/protocols/gg In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5303/src/protocols/gg Modified Files: gg.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: gg.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/gg/gg.c,v retrieving revision 1.128 retrieving revision 1.129 diff -u -d -p -r1.128 -r1.129 --- gg.c 23 Feb 2005 04:21:50 -0000 1.128 +++ gg.c 7 Mar 2005 02:19:04 -0000 1.129 @@ -343,7 +343,7 @@ static GList *agg_buddy_menu(GaimBuddy * /* um... this seems silly. since in this pass, I'm only converting over the menu building, I'm not going to mess with it though */ /* XXX: shouldn't this be in the tooltip instead? */ - act = gaim_blist_node_action_new(buf, NULL, NULL); + act = gaim_blist_node_action_new(buf, NULL, NULL, NULL); m = g_list_append(m, act); return m; |