Mercurial > pidgin
diff src/protocols/silc/buddy.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 | 3e43c132f151 |
line wrap: on
line diff
--- a/src/protocols/silc/buddy.c Mon Mar 07 01:25:05 2005 +0000 +++ b/src/protocols/silc/buddy.c Mon Mar 07 02:19:09 2005 +0000 @@ -1541,33 +1541,35 @@ if (client_entry && client_entry->send_key) { act = gaim_blist_node_action_new(_("Reset IM Key"), - silcgaim_buddy_resetkey, NULL); + silcgaim_buddy_resetkey, NULL, NULL); m = g_list_append(m, act); } else { act = gaim_blist_node_action_new(_("IM with Key Exchange"), - silcgaim_buddy_keyagr, NULL); + silcgaim_buddy_keyagr, NULL, NULL); m = g_list_append(m, act); act = gaim_blist_node_action_new(_("IM with Password"), - silcgaim_buddy_privkey_menu, NULL); + silcgaim_buddy_privkey_menu, + NULL, NULL); m = g_list_append(m, act); } if (pkfile) { act = gaim_blist_node_action_new(_("Show Public Key"), - silcgaim_buddy_showkey, NULL); + silcgaim_buddy_showkey, NULL, NULL); m = g_list_append(m, act); } else { act = gaim_blist_node_action_new(_("Get Public Key..."), - silcgaim_buddy_getkey_menu, NULL); + silcgaim_buddy_getkey_menu, + NULL, NULL); m = g_list_append(m, act); } if (conn && conn->local_entry->mode & SILC_UMODE_ROUTER_OPERATOR) { act = gaim_blist_node_action_new(_("Kill User"), - silcgaim_buddy_kill, NULL); + silcgaim_buddy_kill, NULL, NULL); m = g_list_append(m, act); }