comparison src/gtkconv.c @ 8573:7dcd6f26e4a7

[gaim-migrate @ 9321] " This patch reimplements the system log. It writes system log to ~/.gaim/logs/<protocol>/<username>/.system/<timestamp>.(txt|html), where <timestamp> is the time that the account <username> with <protocol> signs on. Nathan (faceprint) and LSchiere suggested this logging scheme. No code is currently written to read the old system logs. Note that if you change the logging format, you need to re-login the accounts for the change to take effect." --Ka-Hing (javabsp) Cheung who continues: "Now this one applies, also contains a rider patch that, if you enable sound for "Someone says your name in chat", it will not play a sound if the message is a system message, like if jabber chat tells you that "*** becomes available" and *** is you, it won't play a sound." committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sat, 03 Apr 2004 18:34:29 +0000
parents fcb03dabbc53
children d7c85220c685
comparison
equal deleted inserted replaced
8572:f6890288bbe0 8573:7dcd6f26e4a7
4417 if (gtkconv->make_sound) { 4417 if (gtkconv->make_sound) {
4418 if (!(flags & GAIM_MESSAGE_WHISPER) && (flags & GAIM_MESSAGE_SEND)) 4418 if (!(flags & GAIM_MESSAGE_WHISPER) && (flags & GAIM_MESSAGE_SEND))
4419 gaim_sound_play_event(GAIM_SOUND_CHAT_YOU_SAY); 4419 gaim_sound_play_event(GAIM_SOUND_CHAT_YOU_SAY);
4420 else if (flags & GAIM_MESSAGE_RECV) { 4420 else if (flags & GAIM_MESSAGE_RECV) {
4421 if ((flags & GAIM_MESSAGE_NICK) && 4421 if ((flags & GAIM_MESSAGE_NICK) &&
4422 gaim_prefs_get_bool("/gaim/gtk/sound/enabled/nick_said")) { 4422 gaim_prefs_get_bool("/gaim/gtk/sound/enabled/nick_said") &&
4423 !(flags & GAIM_MESSAGE_SYSTEM)) {
4423 4424
4424 gaim_sound_play_event(GAIM_SOUND_CHAT_NICK); 4425 gaim_sound_play_event(GAIM_SOUND_CHAT_NICK);
4425 } 4426 }
4426 else 4427 else
4427 gaim_sound_play_event(GAIM_SOUND_CHAT_SAY); 4428 gaim_sound_play_event(GAIM_SOUND_CHAT_SAY);