comparison src/server.c @ 5842:dbed8c87f750

[gaim-migrate @ 6273] Another reason not to use CVS. This saves your buddy icons to the OSCAR servers (I hope). It's not fully tested and it may screw things up, but I wanted to get it in CVS so other people can try to break this, and KingAnt can review my work (that libfaim wizard that he is.) Don't use CVS. I'd like to thank Christian Hammond, for his work on the account and prpl APIs that made it so easy to add the hook into buddy icon changing. I'd like to thank Mark Doliner for laying most of the groundwork and for his kind words of encouragement. I'd like to thank myself for making the buddy icon selector real sexy-like. I'd like to thank the Lord almighty for giving me the strength to do this. I promised myself I wouldn't cry. I never imagined I'd be committing this. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Thu, 12 Jun 2003 22:19:07 +0000
parents 995e63fb1a5a
children 059d95c67cda
comparison
equal deleted inserted replaced
5841:eeb72d03e189 5842:dbed8c87f750
688 688
689 serv_touch_idle(g); 689 serv_touch_idle(g);
690 690
691 return val; 691 return val;
692 } 692 }
693
694 void serv_set_buddyicon(GaimConnection *gc, const char *filename)
695 {
696 GaimPluginProtocolInfo *prpl_info = NULL;
697
698 if (gc->prpl != NULL)
699 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl);
700
701 if (prpl_info && prpl_info->set_buddy_icon)
702 prpl_info->set_buddy_icon(gc, filename);
703
704 }
693 705
694 int find_queue_row_by_name(char *name) 706 int find_queue_row_by_name(char *name)
695 { 707 {
696 gchar *temp; 708 gchar *temp;
697 gint i = 0; 709 gint i = 0;
1482 1494
1483 gtk_widget_show_all(window); 1495 gtk_widget_show_all(window);
1484 1496
1485 gtk_imhtml_append_text(GTK_IMHTML(text), msg, -1, GTK_IMHTML_NO_NEWLINE); 1497 gtk_imhtml_append_text(GTK_IMHTML(text), msg, -1, GTK_IMHTML_NO_NEWLINE);
1486 } 1498 }
1499