comparison src/conversation.c @ 3060:4f2f12bf4408

[gaim-migrate @ 3074] Code cleanups by Robert McQueen. Michael Golden replaced the multiple per-account signon windows with a single signon window showing the status of all your accounts committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 16 Mar 2002 00:32:53 +0000
parents 2379e9bb2fea
children eb364675bbe4
comparison
equal deleted inserted replaced
3059:966c4e460ebb 3060:4f2f12bf4408
1181 c->images = NULL; 1181 c->images = NULL;
1182 if (binary) 1182 if (binary)
1183 write_to_conv(c, bigbuf, WFLAG_SEND, NULL, time(NULL), length); 1183 write_to_conv(c, bigbuf, WFLAG_SEND, NULL, time(NULL), length);
1184 else 1184 else
1185 write_to_conv(c, buffy, WFLAG_SEND, NULL, time(NULL), -1); 1185 write_to_conv(c, buffy, WFLAG_SEND, NULL, time(NULL), -1);
1186 if (c->makesound && (sound_options & OPT_SOUND_SEND)) 1186 if (c->makesound)
1187 play_sound(SEND); 1187 play_sound(SND_SEND);
1188 if (im_options & OPT_IM_POPDOWN) 1188 if (im_options & OPT_IM_POPDOWN)
1189 gtk_widget_hide(c->window); 1189 gtk_widget_hide(c->window);
1190 1190
1191 1191
1192 } 1192 }
1194 g_free(bigbuf); 1194 g_free(bigbuf);
1195 } else { 1195 } else {
1196 err =serv_send_im(c->gc, c->name, buffy, -1, imflags); 1196 err =serv_send_im(c->gc, c->name, buffy, -1, imflags);
1197 if (err > 0) { 1197 if (err > 0) {
1198 write_to_conv(c, buf, WFLAG_SEND, NULL, time(NULL), -1); 1198 write_to_conv(c, buf, WFLAG_SEND, NULL, time(NULL), -1);
1199 if (c->makesound && (sound_options & OPT_SOUND_SEND)) 1199 if (c->makesound)
1200 play_sound(SEND); 1200 play_sound(SND_SEND);
1201 if (im_options & OPT_IM_POPDOWN) 1201 if (im_options & OPT_IM_POPDOWN)
1202 gtk_widget_hide(c->window); 1202 gtk_widget_hide(c->window);
1203 } 1203 }
1204 } 1204 }
1205 g_free(buffy); 1205 g_free(buffy);