comparison src/main.c @ 5549:7e4de9699da9

[gaim-migrate @ 5950] one more done committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Thu, 29 May 2003 20:18:14 +0000
parents 7a64114641c3
children 9eb5b13fd412
comparison
equal deleted inserted replaced
5548:80e4ba770f97 5549:7e4de9699da9
156 /* we need to do this for Oscar because serv_login only starts the login 156 /* we need to do this for Oscar because serv_login only starts the login
157 * process, it doesn't end there. gaim_setup will be called later from 157 * process, it doesn't end there. gaim_setup will be called later from
158 * oscar.c, after the buddy list is made and serv_finish_login is called */ 158 * oscar.c, after the buddy list is made and serv_finish_login is called */
159 void gaim_setup(struct gaim_connection *gc) 159 void gaim_setup(struct gaim_connection *gc)
160 { 160 {
161 if ((sound_options & OPT_SOUND_LOGIN) && (sound_options & OPT_SOUND_SILENT_SIGNON)) { 161 if (gaim_prefs_get_bool("/core/sound/login") && gaim_prefs_get_bool("/core/sound/silent_signon")) {
162 if(snd_tmout) { 162 if(snd_tmout) {
163 g_source_remove(snd_tmout); 163 g_source_remove(snd_tmout);
164 } 164 }
165 gaim_sound_set_login_mute(TRUE); 165 gaim_sound_set_login_mute(TRUE);
166 snd_tmout = g_timeout_add(10000, sound_timeout, NULL); 166 snd_tmout = g_timeout_add(10000, sound_timeout, NULL);