comparison src/aim.c @ 423:0d4e80bdb96b

[gaim-migrate @ 433] No more --enable-oscar option. From now on, it's a toggle in the preferences. PLEASE DO NOT USE OSCAR, even though it's very easy to. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 21 Jun 2000 19:33:58 +0000
parents 9e8c02ed5d06
children 0cd2ba801eb4
comparison
equal deleted inserted replaced
422:7cd05539952d 423:0d4e80bdb96b
200 200
201 if (serv_login(username, password) < 0) { 201 if (serv_login(username, password) < 0) {
202 running = FALSE; 202 running = FALSE;
203 return; 203 return;
204 } 204 }
205 #ifdef USE_OSCAR 205
206 if (!USE_OSCAR) /* serv_login will set up USE_OSCAR */
207 gaim_setup();
206 } 208 }
207 209
208 void auth_failed() { 210 void auth_failed() {
209 running = FALSE; 211 running = FALSE;
210 } 212 }
211 213
212 /* we need to do this for Oscar because serv_login only starts the login 214 /* we need to do this for Oscar because serv_login only starts the login
213 * process, it doesn't end there. gaim_setup will be called later from 215 * process, it doesn't end there. gaim_setup will be called later from
214 * oscar.c, after the buddy list is made and serv_finish_login is called */ 216 * oscar.c, after the buddy list is made and serv_finish_login is called */
215 void gaim_setup() { 217 void gaim_setup() {
216 #endif /* USE_OSCAR */
217 if (sound_options & OPT_SOUND_LOGIN && 218 if (sound_options & OPT_SOUND_LOGIN &&
218 sound_options & OPT_SOUND_SILENT_SIGNON) { 219 sound_options & OPT_SOUND_SILENT_SIGNON) {
219 logins_not_muted = 0; 220 logins_not_muted = 0;
220 snd_tmout = gtk_timeout_add(10000, (GtkFunction)sound_timeout, 221 snd_tmout = gtk_timeout_add(10000, (GtkFunction)sound_timeout,
221 NULL); 222 NULL);
459 gtk_widget_show(table); 460 gtk_widget_show(table);
460 gtk_window_set_title(GTK_WINDOW(mainwindow),_("Gaim - Login")); 461 gtk_window_set_title(GTK_WINDOW(mainwindow),_("Gaim - Login"));
461 462
462 463
463 gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(remember), (general_options & OPT_GEN_REMEMBER_PASS)); 464 gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(remember), (general_options & OPT_GEN_REMEMBER_PASS));
464 465
465 if (current_user) { 466 if (current_user) {
466 GList *all = aim_users; 467 GList *all = aim_users;
467 GList *srch = g_list_find(all, (void *)current_user); 468 GList *srch = g_list_find(all, (void *)current_user);
468 int length = g_list_length(all) - g_list_length(srch); 469 int length = g_list_length(all) - g_list_length(srch);
469 470