Mercurial > pidgin.yaz
diff src/gtksound.c @ 11687:941aa045f9f6
[gaim-migrate @ 13973]
sadrul fixed sounds for focused conversations, or something. All I know is, I have my sounds back, so major points for him.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 17 Oct 2005 21:12:56 +0000 |
parents | 58bc500cf226 |
children | 4d3119205a33 |
line wrap: on
line diff
--- a/src/gtksound.c Mon Oct 17 20:48:46 2005 +0000 +++ b/src/gtksound.c Mon Oct 17 21:12:56 2005 +0000 @@ -128,8 +128,7 @@ has_focus = gaim_conversation_has_focus(conv); if (!gtkconv->make_sound || - (gaim_gtk_conv_window_get_active_conversation(win) == conv) || - (gaim_prefs_get_bool("/gaim/gtk/sound/conv_focus") && has_focus)) + (has_focus && !gaim_prefs_get_bool("/gaim/gtk/sound/conv_focus"))) { return; }