comparison src/account.c @ 10448:6a20307ef8dc

[gaim-migrate @ 11713] Fix the problem with accounts.xml being loaded before the plugins were probed. This fixes the Yahoo! crash mentioned by the guy on gaim-devel and a guy in #gaim, and a few other obscure problems. Plugins are probed* by the core now instead of the UI. Less work for UI implementors means less code duplication and makes it more likely someone will write a new UI. *Probing loads the PRPLs and any loader plugins (perl, tcl, etc.), and makes plugin information available everywhere else. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 29 Dec 2004 22:48:59 +0000
parents 6feef0a9098a
children a3a540ed2518
comparison
equal deleted inserted replaced
10447:6feef0a9098a 10448:6a20307ef8dc
310 if (name == NULL) 310 if (name == NULL)
311 /* Ignore this setting */ 311 /* Ignore this setting */
312 continue; 312 continue;
313 313
314 str_type = xmlnode_get_attrib(child, "type"); 314 str_type = xmlnode_get_attrib(child, "type");
315 if (str_type == NULL)
316 /* Ignore this setting */
317 continue;
318
315 if (!strcmp(str_type, "string")) 319 if (!strcmp(str_type, "string"))
316 type = GAIM_PREF_STRING; 320 type = GAIM_PREF_STRING;
317 else if (!strcmp(str_type, "int")) 321 else if (!strcmp(str_type, "int"))
318 type = GAIM_PREF_INT; 322 type = GAIM_PREF_INT;
319 else if (!strcmp(str_type, "bool")) 323 else if (!strcmp(str_type, "bool"))