Mercurial > pidgin
comparison src/gaimrc.c @ 5593:b07aa997ddd8
[gaim-migrate @ 5997]
We don't actually need to call save_prefs() anymore.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 31 May 2003 08:42:55 +0000 |
parents | 86456ec3ca25 |
children | 9cd94a5bec8e |
comparison
equal
deleted
inserted
replaced
5592:57165429ed73 | 5593:b07aa997ddd8 |
---|---|
1347 is_loading_prefs = 0; | 1347 is_loading_prefs = 0; |
1348 gaim_debug(GAIM_DEBUG_MISC, "gaimrc", "end load_prefs\n"); | 1348 gaim_debug(GAIM_DEBUG_MISC, "gaimrc", "end load_prefs\n"); |
1349 if (request_save_prefs) { | 1349 if (request_save_prefs) { |
1350 gaim_debug(GAIM_DEBUG_INFO, "gaimrc", | 1350 gaim_debug(GAIM_DEBUG_INFO, "gaimrc", |
1351 "Saving preferences on request\n"); | 1351 "Saving preferences on request\n"); |
1352 save_prefs(); | |
1353 request_save_prefs = 0; | 1352 request_save_prefs = 0; |
1354 } | 1353 } |
1355 } else if (opt_rcfile_arg) { | 1354 } else if (opt_rcfile_arg) { |
1356 g_snprintf(buf, sizeof(buf), _("Could not open config file %s."), opt_rcfile_arg); | 1355 g_snprintf(buf, sizeof(buf), _("Could not open config file %s."), opt_rcfile_arg); |
1357 gaim_notify_error(NULL, NULL, buf, NULL); | 1356 gaim_notify_error(NULL, NULL, buf, NULL); |
1358 set_defaults(); | 1357 set_defaults(); |
1359 } else { | 1358 } else { |
1360 set_defaults(); | 1359 set_defaults(); |
1361 save_prefs(); | |
1362 } | 1360 } |
1363 | 1361 |
1364 prefs_initial_load = 1; | 1362 prefs_initial_load = 1; |
1365 } | 1363 } |
1366 | 1364 |
1418 /* | 1416 /* |
1419 * < ChipX86|Coding> why do we save prefs just after reading them? | 1417 * < ChipX86|Coding> why do we save prefs just after reading them? |
1420 * < faceprint> ChipX86|Coding: because we're cool like that | 1418 * < faceprint> ChipX86|Coding: because we're cool like that |
1421 * <SeanEgan|Coding> damn straight | 1419 * <SeanEgan|Coding> damn straight |
1422 */ | 1420 */ |
1423 save_prefs(); | 1421 /* save_prefs(); -- I like the above comment :( */ |
1424 } | 1422 } |