diff src/main.c @ 8947:fa6c2d893c51

[gaim-migrate @ 9719] Eradicate the "Sounds when you log in" preference, default to no sounds when you log in committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 16 May 2004 06:12:03 +0000
parents 438e8d857554
children 98f01c233a40
line wrap: on
line diff
--- a/src/main.c	Sun May 16 06:03:56 2004 +0000
+++ b/src/main.c	Sun May 16 06:12:03 2004 +0000
@@ -122,11 +122,9 @@
  * oscar.c, after the buddy list is made and serv_finish_login is called */
 void gaim_setup(GaimConnection *gc)
 {
-	if (gaim_prefs_get_bool("/gaim/gtk/sound/enabled/login")
-			&& !gaim_prefs_get_bool("/gaim/gtk/sound/signon")) {
-		if(snd_tmout) {
+	if (gaim_prefs_get_bool("/gaim/gtk/sound/enabled/login")) {
+		if (snd_tmout)
 			g_source_remove(snd_tmout);
-		}
 		gaim_gtk_sound_set_login_mute(TRUE);
 		snd_tmout = gaim_timeout_add(10000, sound_timeout, NULL);
 	}