Mercurial > pidgin.yaz
comparison plugins/gevolution/gevolution.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 | ff4be2d1401d |
children | ea65b2abd8d2 |
comparison
equal
deleted
inserted
replaced
10661:f02873d475dc | 10662:54ac161a876e |
---|---|
217 buddy = (GaimBuddy *)node; | 217 buddy = (GaimBuddy *)node; |
218 | 218 |
219 if (gevo_prpl_is_supported(buddy->account, buddy)) | 219 if (gevo_prpl_is_supported(buddy->account, buddy)) |
220 { | 220 { |
221 act = gaim_blist_node_action_new(_("Add to Address Book"), | 221 act = gaim_blist_node_action_new(_("Add to Address Book"), |
222 menu_item_activate_cb, NULL); | 222 menu_item_activate_cb, |
223 NULL, NULL); | |
223 *menu = g_list_append(*menu, act); | 224 *menu = g_list_append(*menu, act); |
224 } | 225 } |
225 } | 226 } |
226 | 227 |
227 static gboolean | 228 static gboolean |