Mercurial > pidgin.yaz
comparison src/protocols/toc/toc.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 | 0f7452b1f777 |
children | 94cc67130789 |
comparison
equal
deleted
inserted
replaced
10661:f02873d475dc | 10662:54ac161a876e |
---|---|
1428 GList *m = NULL; | 1428 GList *m = NULL; |
1429 GaimBlistNodeAction *act; | 1429 GaimBlistNodeAction *act; |
1430 | 1430 |
1431 if(GAIM_BLIST_NODE_IS_BUDDY(node)) { | 1431 if(GAIM_BLIST_NODE_IS_BUDDY(node)) { |
1432 act = gaim_blist_node_action_new(_("Get Dir Info"), | 1432 act = gaim_blist_node_action_new(_("Get Dir Info"), |
1433 toc_get_dir, NULL); | 1433 toc_get_dir, NULL, NULL); |
1434 m = g_list_append(m, act); | 1434 m = g_list_append(m, act); |
1435 } | 1435 } |
1436 | 1436 |
1437 return m; | 1437 return m; |
1438 } | 1438 } |