Mercurial > pidgin
diff src/gtkconv.c @ 8633:f8292be3b45c
[gaim-migrate @ 9385]
<nosnilmot> KingAnt: It needs a bit more than that... leaving the pref
called silent_focus is confusing, and there's logic inversion required
in gtkconv.c
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Sun, 11 Apr 2004 18:06:13 +0000 |
| parents | ff2c1e946a5c |
| children | 69a1b2a7a0d8 |
line wrap: on
line diff
--- a/src/gtkconv.c Sun Apr 11 17:56:13 2004 +0000 +++ b/src/gtkconv.c Sun Apr 11 18:06:13 2004 +0000 @@ -4392,7 +4392,7 @@ /* Play a sound, if specified in prefs. */ if (gtkconv->make_sound && !((gaim_conv_window_get_active_conversation(gaimwin) == conv) && - gaim_prefs_get_bool("/gaim/gtk/sound/silent_focus") && has_focus)) { + !gaim_prefs_get_bool("/gaim/gtk/sound/conv_focus") && has_focus)) { if (flags & GAIM_MESSAGE_RECV) { if (gtkconv->u.im->a_virgin && gaim_prefs_get_bool("/gaim/gtk/sound/enabled/first_im_recv")) { @@ -4429,7 +4429,7 @@ /* Play a sound, if specified in prefs. */ if (gtkconv->make_sound && !((gaim_conv_window_get_active_conversation(gaimwin) == conv) && - gaim_prefs_get_bool("/gaim/gtk/sound/silent_focus") && has_focus)) { + !gaim_prefs_get_bool("/gaim/gtk/sound/conv_focus") && has_focus)) { if (!(flags & GAIM_MESSAGE_WHISPER) && (flags & GAIM_MESSAGE_SEND)) gaim_sound_play_event(GAIM_SOUND_CHAT_YOU_SAY); else if (flags & GAIM_MESSAGE_RECV) {
