Mercurial > pidgin.yaz
comparison src/main.c @ 5734:5cd96052bc45
[gaim-migrate @ 6158]
had these prefs wrong
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Wed, 04 Jun 2003 06:05:17 +0000 |
parents | 1d140b31d4b3 |
children | 7ec0cd751e6b |
comparison
equal
deleted
inserted
replaced
5733:4350b62bac45 | 5734:5cd96052bc45 |
---|---|
161 /* we need to do this for Oscar because serv_login only starts the login | 161 /* we need to do this for Oscar because serv_login only starts the login |
162 * process, it doesn't end there. gaim_setup will be called later from | 162 * process, it doesn't end there. gaim_setup will be called later from |
163 * oscar.c, after the buddy list is made and serv_finish_login is called */ | 163 * oscar.c, after the buddy list is made and serv_finish_login is called */ |
164 void gaim_setup(GaimConnection *gc) | 164 void gaim_setup(GaimConnection *gc) |
165 { | 165 { |
166 if (gaim_prefs_get_bool("/core/sound/login") && gaim_prefs_get_bool("/core/sound/silent_signon")) { | 166 if (gaim_prefs_get_bool("/gaim/gtk/sound/enabled/login") |
167 && gaim_prefs_get_bool("/gaim/gtk/sound/silent_signon")) { | |
167 if(snd_tmout) { | 168 if(snd_tmout) { |
168 g_source_remove(snd_tmout); | 169 g_source_remove(snd_tmout); |
169 } | 170 } |
170 gaim_gtk_sound_set_login_mute(TRUE); | 171 gaim_gtk_sound_set_login_mute(TRUE); |
171 snd_tmout = g_timeout_add(10000, sound_timeout, NULL); | 172 snd_tmout = g_timeout_add(10000, sound_timeout, NULL); |