changeset 3681:8599c86b9f46

[gaim-migrate @ 3811] sigh committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Mon, 14 Oct 2002 04:31:21 +0000
parents 44a2d7e91493
children 73c2b924703e
files src/conversation.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/conversation.c	Mon Oct 14 04:30:41 2002 +0000
+++ b/src/conversation.c	Mon Oct 14 04:31:21 2002 +0000
@@ -409,6 +409,9 @@
 
 void toggle_sound(GtkWidget *widget, struct conversation *c)
 {
+	if (state_lock)
+			return;
+
 	c->makesound = !c->makesound;
 }