diff src/protocols/yahoo/yahoo.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 6895c4212362
children 72a5babfa8b4
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c	Mon Mar 07 01:25:05 2005 +0000
+++ b/src/protocols/yahoo/yahoo.c	Mon Mar 07 02:19:09 2005 +0000
@@ -2599,7 +2599,7 @@
 
 	if (!f && !yd->wm) {
 		act = gaim_blist_node_action_new(_("Add Buddy"),
-				yahoo_addbuddyfrommenu_cb, NULL);
+				yahoo_addbuddyfrommenu_cb, NULL, NULL);
 		m = g_list_append(m, act);
 
 		return m;
@@ -2610,12 +2610,12 @@
 
 	if (!yd->wm) {
 		act = gaim_blist_node_action_new(_("Join in Chat"),
-				yahoo_chat_goto_menu, NULL);
+				yahoo_chat_goto_menu, NULL, NULL);
 		m = g_list_append(m, act);
 	}
 
 	act = gaim_blist_node_action_new(_("Initiate Conference"),
-			yahoo_initiate_conference, NULL);
+			yahoo_initiate_conference, NULL, NULL);
 	m = g_list_append(m, act);
 
 	if (yahoo_friend_get_game(f)) {
@@ -2633,7 +2633,7 @@
 		*t = ' ';
 		g_snprintf(buf2, sizeof buf2, "%s", room);
 
-		act = gaim_blist_node_action_new(buf2, yahoo_game, NULL);
+		act = gaim_blist_node_action_new(buf2, yahoo_game, NULL, NULL);
 		m = g_list_append(m, act);
 	}