comparison src/buddy.c @ 2856:b1e300a85678

[gaim-migrate @ 2869] rewrote the html parser in gtkimhtml. yes, that's really all i did. the reason for the massive change is because i added a length argument, which then needed to be propogated down to everything that would ever receive anything that would get drawn to the window. the new parser isn't any faster. that wasn't my goal. it's much more understandable now (hopefully, anyway). committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 08 Dec 2001 09:48:52 +0000
parents 2c39e70dd07c
children c12e3e66d54a
comparison
equal deleted inserted replaced
2855:19f786779b08 2856:b1e300a85678
1497 if (c == NULL) 1497 if (c == NULL)
1498 c = new_conversation(name); 1498 c = new_conversation(name);
1499 1499
1500 set_convo_gc(c, u->gc); 1500 set_convo_gc(c, u->gc);
1501 1501
1502 write_to_conv(c, b->message, WFLAG_SEND, NULL, time((time_t) NULL)); 1502 write_to_conv(c, b->message, WFLAG_SEND, NULL, time(NULL), -1);
1503 serv_send_im(u->gc, name, b->message, 0); 1503 serv_send_im(u->gc, name, b->message, 0);
1504 } 1504 }
1505 } 1505 }
1506 if (b->options & OPT_POUNCE_COMMAND) { 1506 if (b->options & OPT_POUNCE_COMMAND) {
1507 int pid = fork(); 1507 int pid = fork();
2108 if ((bs->sound != 2) && (im_options & OPT_IM_LOGON)) { 2108 if ((bs->sound != 2) && (im_options & OPT_IM_LOGON)) {
2109 struct conversation *c = find_conversation(b->name); 2109 struct conversation *c = find_conversation(b->name);
2110 if (c) { 2110 if (c) {
2111 char tmp[1024]; 2111 char tmp[1024];
2112 g_snprintf(tmp, sizeof(tmp), _("%s logged in."), b->name); 2112 g_snprintf(tmp, sizeof(tmp), _("%s logged in."), b->name);
2113 write_to_conv(c, tmp, WFLAG_SYSTEM, NULL, time((time_t) NULL)); 2113 write_to_conv(c, tmp, WFLAG_SYSTEM, NULL, time(NULL), -1);
2114 } 2114 }
2115 } 2115 }
2116 bs->sound = 2; 2116 bs->sound = 2;
2117 } else if (bs->log_timer == 0) { 2117 } else if (bs->log_timer == 0) {
2118 if (gc->prpl->list_icon) 2118 if (gc->prpl->list_icon)
2163 if ((bs->sound != 1) && (im_options & OPT_IM_LOGON)) { 2163 if ((bs->sound != 1) && (im_options & OPT_IM_LOGON)) {
2164 struct conversation *c = find_conversation(b->name); 2164 struct conversation *c = find_conversation(b->name);
2165 if (c) { 2165 if (c) {
2166 char tmp[1024]; 2166 char tmp[1024];
2167 g_snprintf(tmp, sizeof(tmp), _("%s logged out."), b->name); 2167 g_snprintf(tmp, sizeof(tmp), _("%s logged out."), b->name);
2168 write_to_conv(c, tmp, WFLAG_SYSTEM, NULL, time((time_t) NULL)); 2168 write_to_conv(c, tmp, WFLAG_SYSTEM, NULL, time(NULL), -1);
2169 } 2169 }
2170 } 2170 }
2171 2171
2172 bs->sound = 1; 2172 bs->sound = 1;
2173 } 2173 }