changeset 3679:6addfadafda1

[gaim-migrate @ 3809] here committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Mon, 14 Oct 2002 04:28:34 +0000
parents d972e1f0be13
children 44a2d7e91493
files src/conversation.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/conversation.c	Mon Oct 14 04:05:06 2002 +0000
+++ b/src/conversation.c	Mon Oct 14 04:28:34 2002 +0000
@@ -2217,7 +2217,9 @@
 	menuitem = gtk_check_menu_item_new_with_mnemonic(_("Enable _Sounds"));
 	c->makesound = 1;
 	gtk_signal_connect(GTK_OBJECT(menuitem), "toggled", GTK_SIGNAL_FUNC(toggle_sound), c);
+	state_lock = 1;
 	gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menuitem), TRUE);
+	state_lock = 0;
 	gtk_menu_append(GTK_MENU(menu), menuitem);