Mercurial > pidgin.yaz
comparison src/core.c @ 4064:b188b93ebf48
[gaim-migrate @ 4274]
(23:01:14) LSchiere: okay, this patch fixes at least some of the problems saving sound, away, and font preferences. it makes spin buttons and entry
widgets save prefs on loss of focus or dialog close instead of on change.
(23:01:17) LSchiere: anything else it does?
(23:01:44) faceprint: it makes nothing save unless you hit close. however, everything saves when you hit close.
(23:02:06) LSchiere: they still apply before close?
(23:02:09) faceprint: it should right most of the wrongs of prefs
(23:02:25) faceprint: they apply before close, but aren't written to disk every time you check or uncheck a checkbox or something
(23:02:27) Paco-Paco: it looks OK
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Thu, 12 Dec 2002 04:03:53 +0000 |
parents | eb1d58c2d6af |
children | 405340263d75 |
comparison
equal
deleted
inserted
replaced
4063:f8090a166e57 | 4064:b188b93ebf48 |
---|---|
493 return 0; | 493 return 0; |
494 } | 494 } |
495 | 495 |
496 void core_quit() | 496 void core_quit() |
497 { | 497 { |
498 save_prefs(); | |
498 #ifndef _WIN32 | 499 #ifndef _WIN32 |
500 { | |
499 char buf[1024]; | 501 char buf[1024]; |
500 close(UI_fd); | 502 close(UI_fd); |
501 sprintf(buf, "%s" G_DIR_SEPARATOR_S "gaim_%s.%d", g_get_tmp_dir(), g_get_user_name(), gaim_session); | 503 sprintf(buf, "%s" G_DIR_SEPARATOR_S "gaim_%s.%d", g_get_tmp_dir(), g_get_user_name(), gaim_session); |
502 unlink(buf); | 504 unlink(buf); |
503 debug_printf("Removed core\n"); | 505 debug_printf("Removed core\n"); |
504 #endif | 506 } |
505 } | 507 #endif |
508 } |