comparison plugins/yay/yay.c @ 1499:de0b946e86a4

[gaim-migrate @ 1509] woohoo, i'm back. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 23 Feb 2001 23:58:35 +0000
parents d33bf6548543
children a054c28735fb
comparison
equal deleted inserted replaced
1498:0ef6603d986e 1499:de0b946e86a4
470 else if (uc == UC_NORMAL) 470 else if (uc == UC_NORMAL)
471 return status_here_xpm; 471 return status_here_xpm;
472 return status_away_xpm; 472 return status_away_xpm;
473 } 473 }
474 474
475 static void yahoo_action_menu(GtkWidget *menu, struct gaim_connection *gc, char *who) { 475 static void yahoo_buddy_menu(GtkWidget *menu, struct gaim_connection *gc, char *who) {
476 struct yahoo_data *yd = (struct yahoo_data *)gc->proto_data; 476 struct yahoo_data *yd = (struct yahoo_data *)gc->proto_data;
477 GtkWidget *button; 477 GtkWidget *button;
478 struct buddy *b = find_buddy(gc, who); /* this should never be null. if it is, 478 struct buddy *b = find_buddy(gc, who); /* this should never be null. if it is,
479 segfault and get the bug report. */ 479 segfault and get the bug report. */
480 char buf[1024]; 480 char buf[1024];
517 /* the NULL's aren't required but they're nice to have */ 517 /* the NULL's aren't required but they're nice to have */
518 ret->protocol = PROTO_YAHOO; 518 ret->protocol = PROTO_YAHOO;
519 ret->name = yahoo_name; 519 ret->name = yahoo_name;
520 ret->list_icon = yahoo_list_icon; 520 ret->list_icon = yahoo_list_icon;
521 ret->away_states = yahoo_away_states; 521 ret->away_states = yahoo_away_states;
522 ret->action_menu = yahoo_action_menu; 522 ret->buddy_menu = yahoo_buddy_menu;
523 ret->user_opts = NULL; 523 ret->user_opts = NULL;
524 ret->login = yahoo_login; 524 ret->login = yahoo_login;
525 ret->close = yahoo_close; 525 ret->close = yahoo_close;
526 ret->send_im = yahoo_send_im; 526 ret->send_im = yahoo_send_im;
527 ret->set_info = NULL; 527 ret->set_info = NULL;