comparison src/protocols/novell/novell.c @ 12919:248b8b39c671

[gaim-migrate @ 15272] Replace GaimBlistNodeAction with the more generic GaimMenuAction, this is in preparation for letting the chat room user list have extensible menus like the blist entries do. (I know it's not exactly the prettiest, and the callback isn't exactly type-safe, when we eventually gobjectify everything we can get some safety back by using (GObject, gpointer) but that's for later.) I'm planning to look into merging GaimPluginActions into GaimMenuActions as well. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Tue, 17 Jan 2006 23:22:19 +0000
parents 3dedbe04a684
children f50a99d5ba9b
comparison
equal deleted inserted replaced
12918:a05fbd9dcc31 12919:248b8b39c671
3436 3436
3437 static GList * 3437 static GList *
3438 novell_blist_node_menu(GaimBlistNode *node) 3438 novell_blist_node_menu(GaimBlistNode *node)
3439 { 3439 {
3440 GList *list = NULL; 3440 GList *list = NULL;
3441 GaimBlistNodeAction *act; 3441 GaimMenuAction *act;
3442 3442
3443 if(GAIM_BLIST_NODE_IS_BUDDY(node)) { 3443 if(GAIM_BLIST_NODE_IS_BUDDY(node)) {
3444 act = gaim_blist_node_action_new(_("Initiate _Chat"), 3444 act = gaim_menu_action_new(_("Initiate _Chat"),
3445 _initiate_conference_cb, NULL, NULL); 3445 _initiate_conference_cb, NULL, NULL);
3446 list = g_list_append(list, act); 3446 list = g_list_append(list, act);
3447 } 3447 }
3448 3448
3449 return list; 3449 return list;
3450 } 3450 }