Mercurial > pidgin.yaz
comparison src/status.c @ 10322:2a132b73a6e6
[gaim-migrate @ 11529]
I shuffled around lots of sound code and made the buddy-signon/signoff
sounds work again. And I did it by making sound.c connec to the
buddy-signon signal.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 05 Dec 2004 23:19:16 +0000 |
parents | 393f85d9f8dd |
children | 682201b69107 |
comparison
equal
deleted
inserted
replaced
10321:782c1b564906 | 10322:2a132b73a6e6 |
---|---|
1177 * GaimLog *log = gaim_account_get_log(account); | 1177 * GaimLog *log = gaim_account_get_log(account); |
1178 * char *tmp = g_strdup_printf(_("%s signed on"), alias); | 1178 * char *tmp = g_strdup_printf(_("%s signed on"), alias); |
1179 * gaim_log_write(log, GAIM_MESSAGE_SYSTEM, (alias ? alias : name), current_time, tmp); | 1179 * gaim_log_write(log, GAIM_MESSAGE_SYSTEM, (alias ? alias : name), current_time, tmp); |
1180 * g_free(tmp); | 1180 * g_free(tmp); |
1181 * | 1181 * |
1182 * gaim_sound_play_event(GAIM_SOUND_BUDDY_ARRIVE); | |
1183 * | |
1184 * char *tmp = g_strdup_printf(_("%s logged out."), alias); | 1182 * char *tmp = g_strdup_printf(_("%s logged out."), alias); |
1185 * gaim_conversation_write(c, NULL, tmp, GAIM_MESSAGE_SYSTEM, time(NULL)); | 1183 * gaim_conversation_write(c, NULL, tmp, GAIM_MESSAGE_SYSTEM, time(NULL)); |
1186 * g_free(tmp); | 1184 * g_free(tmp); |
1187 * | 1185 * |
1188 * char *tmp = g_strdup_printf(_("%s signed off"), alias); | 1186 * char *tmp = g_strdup_printf(_("%s signed off"), alias); |
1189 * gaim_log_write(log, GAIM_MESSAGE_SYSTEM, (alias ? alias : name), current_time, tmp); | 1187 * gaim_log_write(log, GAIM_MESSAGE_SYSTEM, (alias ? alias : name), current_time, tmp); |
1190 * g_free(tmp); | 1188 * g_free(tmp); |
1191 * | 1189 * |
1192 * serv_got_typing_stopped(gc, name); | 1190 * serv_got_typing_stopped(gc, name); |
1193 * | |
1194 * gaim_sound_play_event(GAIM_SOUND_BUDDY_LEAVE); | |
1195 * | 1191 * |
1196 * gaim_conversation_update(c, GAIM_CONV_UPDATE_AWAY); | 1192 * gaim_conversation_update(c, GAIM_CONV_UPDATE_AWAY); |
1197 * | 1193 * |
1198 */ | 1194 */ |
1199 void | 1195 void |