diff src/protocols/oscar/oscar.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 f2e86683cafc
children 9aa1d4adf3e9
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Mon Mar 07 01:25:05 2005 +0000
+++ b/src/protocols/oscar/oscar.c	Mon Mar 07 02:19:09 2005 +0000
@@ -7155,13 +7155,13 @@
 	GaimBlistNodeAction *act;
 
 	act = gaim_blist_node_action_new(_("Edit Buddy Comment"),
-			oscar_buddycb_edit_comment, NULL);
+			oscar_buddycb_edit_comment, NULL, NULL);
 	m = g_list_append(m, act);
 
 	if (od->icq) {
 #if 0
 		act = gaim_blist_node_action_new(_("Get Status Msg"),
-				oscar_get_icqstatusmsg, NULL);
+				oscar_get_icqstatusmsg, NULL, NULL);
 		m = g_list_append(m, act);
 #endif
 	} else {
@@ -7173,13 +7173,13 @@
 
 			if (userinfo->capabilities & AIM_CAPS_DIRECTIM) {
 				act = gaim_blist_node_action_new(_("Direct IM"),
-						oscar_ask_direct_im, NULL);
+						oscar_ask_direct_im, NULL, NULL);
 				m = g_list_append(m, act);
 			}
 #if 0
 			if (userinfo->capabilities & AIM_CAPS_GETFILE) {
 				act = gaim_blist_node_action_new(_("Get File"),
-						oscar_ask_getfile, NULL);
+						oscar_ask_getfile, NULL, NULL);
 				m = g_list_append(m, act);
 			}
 #endif
@@ -7190,7 +7190,7 @@
 		char *gname = aim_ssi_itemlist_findparentname(od->sess->ssi.local, buddy->name);
 		if (gname && aim_ssi_waitingforauth(od->sess->ssi.local, gname, buddy->name)) {
 			act = gaim_blist_node_action_new(_("Re-request Authorization"),
-					gaim_auth_sendrequest_menu, NULL);
+					gaim_auth_sendrequest_menu, NULL, NULL);
 			m = g_list_append(m, act);
 		}
 	}