Mercurial > pidgin.yaz
comparison src/server.c @ 7583:532635bc38c1
[gaim-migrate @ 8201]
I just have an affinity for deleting stuff.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 21 Nov 2003 05:19:54 +0000 |
parents | a899742289c2 |
children | 994b2d782711 |
comparison
equal
deleted
inserted
replaced
7582:3e0404393761 | 7583:532635bc38c1 |
---|---|
1357 | 1357 |
1358 gc->buddy_chats = g_slist_append(gc->buddy_chats, conv); | 1358 gc->buddy_chats = g_slist_append(gc->buddy_chats, conv); |
1359 | 1359 |
1360 gaim_conv_chat_set_id(chat, id); | 1360 gaim_conv_chat_set_id(chat, id); |
1361 | 1361 |
1362 /* TODO Move this to UI logging code! LOG | |
1363 if (gaim_prefs_get_bool("/gaim/gtk/logging/log_chats") || | |
1364 find_log_info(gaim_conversation_get_name(conv))) { | |
1365 | |
1366 FILE *fd; | |
1367 char *filename; | |
1368 | |
1369 filename = (char *)malloc(100); | |
1370 g_snprintf(filename, 100, "%s.chat", | |
1371 gaim_normalize(gaim_conversation_get_account(conv), | |
1372 gaim_conversation_get_name(conv))); | |
1373 | |
1374 fd = open_log_file(filename, TRUE); | |
1375 | |
1376 if (fd) { | |
1377 if (!gaim_prefs_get_bool("/gaim/gtk/logging/strip_html")) | |
1378 fprintf(fd, | |
1379 _("<HR><BR><H3 Align=Center> ---- New Conversation @ %s ----</H3><BR>\n"), | |
1380 gaim_date_full()); | |
1381 else | |
1382 fprintf(fd, _("---- New Conversation @ %s ----\n"), gaim_date_full()); | |
1383 | |
1384 fclose(fd); | |
1385 } | |
1386 free(filename); | |
1387 } | |
1388 */ | |
1389 | |
1390 gaim_conv_window_show(gaim_conversation_get_window(conv)); | 1362 gaim_conv_window_show(gaim_conversation_get_window(conv)); |
1391 gaim_conv_window_switch_conversation(gaim_conversation_get_window(conv), | 1363 gaim_conv_window_switch_conversation(gaim_conversation_get_window(conv), |
1392 gaim_conversation_get_index(conv)); | 1364 gaim_conversation_get_index(conv)); |
1393 | 1365 |
1394 gaim_signal_emit(gaim_conversations_get_handle(), "chat-joined", conv); | 1366 gaim_signal_emit(gaim_conversations_get_handle(), "chat-joined", conv); |