From: Don S. <ri...@us...> - 2006-02-08 22:24:49
|
Update of /cvsroot/gaim-bnet/gaim-bnet/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17158/src Modified Files: bnet.c Log Message: use GaimMenuAction, needs testing Index: bnet.c =================================================================== RCS file: /cvsroot/gaim-bnet/gaim-bnet/src/bnet.c,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** bnet.c 23 Dec 2005 19:15:05 -0000 1.40 --- bnet.c 8 Feb 2006 22:24:41 -0000 1.41 *************** *** 124,128 **** static GList *blist_node_menu(GaimBlistNode *node) { ! GaimBlistNodeAction *act; GList *m = NULL; --- 124,128 ---- static GList *blist_node_menu(GaimBlistNode *node) { ! GaimMenuAction *act; GList *m = NULL; *************** *** 130,151 **** return NULL; ! act = gaim_blist_node_action_new(_("StarCraft Stats"), ! bnet_user_stats, "STAR", NULL); m = g_list_append(m, act); ! act = gaim_blist_node_action_new(_("StarCraft Broodwar Stats"), ! bnet_user_stats, "SEXP", NULL); m = g_list_append(m, act); ! act = gaim_blist_node_action_new(_("WarCraft II Battle.net Edition Stats"), ! bnet_user_stats, "W2BN", NULL); m = g_list_append(m, act); ! act = gaim_blist_node_action_new(_("WarCraft III Stats"), ! bnet_user_stats, "WAR3", NULL); m = g_list_append(m, act); ! act = gaim_blist_node_action_new(_("WarCraft III The Frozen Throne Stats"), ! bnet_user_stats, "W3XP", NULL); m = g_list_append(m, act); --- 130,151 ---- return NULL; ! act = gaim_menu_action_new(_("StarCraft Stats"), ! GAIM_CALLBACK(bnet_user_stats), "STAR", NULL); m = g_list_append(m, act); ! act = gaim_menu_action_new(_("StarCraft Broodwar Stats"), ! GAIM_CALLBACK(bnet_user_stats), "SEXP", NULL); m = g_list_append(m, act); ! act = gaim_menu_action_new(_("WarCraft II Battle.net Edition Stats"), ! GAIM_CALLBACK(bnet_user_stats), "W2BN", NULL); m = g_list_append(m, act); ! act = gaim_menu_action_new(_("WarCraft III Stats"), ! GAIM_CALLBACK(bnet_user_stats), "WAR3", NULL); m = g_list_append(m, act); ! act = gaim_menu_action_new(_("WarCraft III The Frozen Throne Stats"), ! GAIM_CALLBACK(bnet_user_stats), "W3XP", NULL); m = g_list_append(m, act); |