Mercurial > pidgin
comparison src/conversation.c @ 780:c714def9cebb
[gaim-migrate @ 790]
You may be a geek if...
You've ever used a computer on Friday, Saturday and Sunday of the
same weekend.
You find yourself interrupting computer store salesman to correct
something he said.
The first thing you notice when walking in a business is their
computer system. ...and offer advice on how you would change it.
You've ever mounted a magnetic tape reel.
You own any shareware.
You know more IP addresses than phone numbers.
You've ever accidentally dialed an IP address.
Your friends use you as tech support.
You've ever named a computer.
You have your local computer store on speed dial.
You can't carry on a conversation without talking about computers.
Co-workers have to E-mail you about the fire alarm to get you out of
the building.
You've ever found "stray" diskettes when doing laundry.
Your computer has it's own phone line - but your teenager doesn't.
You check the national weather service web page for current weather
conditions (rather than look out the window).
You know more URLs than street addresses.
Your pet has a web page.
You get really excited when Yahoo adds your link.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 29 Aug 2000 03:59:01 +0000 |
parents | 267ed2b889ee |
children | 9d5e7e987103 |
comparison
equal
deleted
inserted
replaced
779:1823a4af82d3 | 780:c714def9cebb |
---|---|
584 if ((font_options & OPT_FONT_BGCOL) || c->hasbg) { | 584 if ((font_options & OPT_FONT_BGCOL) || c->hasbg) { |
585 g_snprintf(buf2, limit, "<BODY BGCOLOR=\"#%02X%02X%02X\">%s</BODY>", c->bgcol.red, c->bgcol.green, c->bgcol.blue, buf); | 585 g_snprintf(buf2, limit, "<BODY BGCOLOR=\"#%02X%02X%02X\">%s</BODY>", c->bgcol.red, c->bgcol.green, c->bgcol.blue, buf); |
586 strcpy(buf, buf2); | 586 strcpy(buf, buf2); |
587 } | 587 } |
588 | 588 |
589 #ifdef GAIM_PLUGINS | |
590 { | 589 { |
591 GList *ca = callbacks; | |
592 struct gaim_callback *g; | |
593 void (*function)(char *, char **, void *); | |
594 char *buffy = g_strdup(buf); | 590 char *buffy = g_strdup(buf); |
595 enum gaim_event evnt = c->is_chat ? event_chat_send : event_im_send; | 591 enum gaim_event evnt = c->is_chat ? event_chat_send : event_im_send; |
596 while (ca) { | 592 plugin_event(evnt, c->name, &buffy, 0); |
597 g = (struct gaim_callback *)(ca->data); | |
598 if (g->event == evnt && g->function != NULL) { | |
599 function = g->function; | |
600 (*function)(c->name, &buffy, g->data); | |
601 } | |
602 ca = ca->next; | |
603 } | |
604 if (!buffy) { | 593 if (!buffy) { |
605 g_free(buf2); | 594 g_free(buf2); |
606 return; | 595 return; |
607 } | 596 } |
608 g_snprintf(buf, limit, "%s", buffy); | 597 g_snprintf(buf, limit, "%s", buffy); |
609 g_free(buffy); | 598 g_free(buffy); |
610 } | 599 } |
611 #endif | |
612 | 600 |
613 if (!c->is_chat) { | 601 if (!c->is_chat) { |
614 buf3 = g_strdup(buf); | 602 buf3 = g_strdup(buf); |
615 write_to_conv(c, buf3, WFLAG_SEND, NULL); | 603 write_to_conv(c, buf3, WFLAG_SEND, NULL); |
616 g_free(buf3); | 604 g_free(buf3); |