Mercurial > pidgin.yaz
comparison src/protocols/novell/novell.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 | 3e4ecbdf8d0a |
children | 94cc67130789 |
comparison
equal
deleted
inserted
replaced
10661:f02873d475dc | 10662:54ac161a876e |
---|---|
3376 GList *list = NULL; | 3376 GList *list = NULL; |
3377 GaimBlistNodeAction *act; | 3377 GaimBlistNodeAction *act; |
3378 | 3378 |
3379 if(GAIM_BLIST_NODE_IS_BUDDY(node)) { | 3379 if(GAIM_BLIST_NODE_IS_BUDDY(node)) { |
3380 act = gaim_blist_node_action_new(_("Initiate _Chat"), | 3380 act = gaim_blist_node_action_new(_("Initiate _Chat"), |
3381 _initiate_conference_cb, NULL); | 3381 _initiate_conference_cb, NULL, NULL); |
3382 list = g_list_append(list, act); | 3382 list = g_list_append(list, act); |
3383 } | 3383 } |
3384 | 3384 |
3385 return list; | 3385 return list; |
3386 } | 3386 } |