Mercurial > pidgin
comparison plugins/napster.c @ 1338:2e046be5e44a
[gaim-migrate @ 1348]
Just making a reminder for myself. :-)
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Thu, 21 Dec 2000 00:21:40 +0000 |
parents | e2d8b713d928 |
children | 6e0883ee51ce |
comparison
equal
deleted
inserted
replaced
1337:198b0e53d7c3 | 1338:2e046be5e44a |
---|---|
526 | 526 |
527 while (buddies) { | 527 while (buddies) { |
528 nap_write_packet(gc, 0xd0, (char *)buddies->data); | 528 nap_write_packet(gc, 0xd0, (char *)buddies->data); |
529 buddies = buddies -> next; | 529 buddies = buddies -> next; |
530 } | 530 } |
531 } | |
532 | |
533 static void nap_draw_new_user(GtkWidget *box) | |
534 { | |
535 GtkWidget *label; | |
536 | |
537 label = gtk_label_new(_("Napster registration is currently under development")); | |
538 | |
539 gtk_label_set_line_wrap(GTK_LABEL(label), TRUE); | |
540 gtk_box_pack_start(GTK_BOX(box), label, FALSE, FALSE, 5); | |
541 gtk_widget_show(label); | |
531 } | 542 } |
532 | 543 |
533 static char** nap_list_icon(int uc) | 544 static char** nap_list_icon(int uc) |
534 { | 545 { |
535 return napster_xpm; | 546 return napster_xpm; |
569 ret->chat_invite = NULL; | 580 ret->chat_invite = NULL; |
570 ret->chat_leave = nap_chat_leave; | 581 ret->chat_leave = nap_chat_leave; |
571 ret->chat_whisper = NULL; | 582 ret->chat_whisper = NULL; |
572 ret->chat_send = nap_chat_send; | 583 ret->chat_send = nap_chat_send; |
573 ret->keepalive = NULL; | 584 ret->keepalive = NULL; |
585 ret->draw_new_user = nap_draw_new_user; | |
574 | 586 |
575 my_protocol = ret; | 587 my_protocol = ret; |
576 } | 588 } |
577 | 589 |
578 char *gaim_plugin_init(GModule * handle) | 590 char *gaim_plugin_init(GModule * handle) |