Mercurial > pidgin.yaz
changeset 7555:450b25d8d953
[gaim-migrate @ 8169]
never fear! that guy who wrote prefs is here!
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Tue, 18 Nov 2003 05:45:14 +0000 |
parents | 4267ac18fd07 |
children | 219903d29401 |
files | src/log.c src/prefs.c |
diffstat | 2 files changed, 6 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/log.c Tue Nov 18 04:46:47 2003 +0000 +++ b/src/log.c Tue Nov 18 05:45:14 2003 +0000 @@ -65,8 +65,8 @@ g_return_if_fail(log->logger); g_return_if_fail(log->logger->write); - if ((log->type == GAIM_LOG_IM && gaim_prefs_get_bool("/gaim/gtk/logging/log_ims")) || - (log->type == GAIM_LOG_CHAT && gaim_prefs_get_bool("/gaim/gtk/logging/log_chats"))) + if ((log->type == GAIM_LOG_IM && gaim_prefs_get_bool("/core/logging/log_ims")) || + (log->type == GAIM_LOG_CHAT && gaim_prefs_get_bool("/core/logging/log_chats"))) (log->logger->write)(log, type, from, time, message); } @@ -193,8 +193,8 @@ void gaim_log_init(void) { gaim_prefs_add_none("/core/logging"); - gaim_prefs_add_bool("/gaim/gtk/logging/log_ims", FALSE); - gaim_prefs_add_bool("/gaim/gtk/logging/log_chats", FALSE); + gaim_prefs_add_bool("/core/logging/log_ims", FALSE); + gaim_prefs_add_bool("/core/logging/log_chats", FALSE); gaim_prefs_add_string("/core/logging/format", "txt"); gaim_log_logger_add(&html_logger); gaim_log_logger_add(&txt_logger);
--- a/src/prefs.c Tue Nov 18 04:46:47 2003 +0000 +++ b/src/prefs.c Tue Nov 18 05:45:14 2003 +0000 @@ -613,7 +613,8 @@ } void gaim_prefs_rename_old() { - /* This doesn't actually do anything yet, but it will */ + gaim_prefs_rename("/gaim/gtk/logging/log_ims", "/core/logging/log_ims"); + gaim_prefs_rename("/gaim/gtk/logging/log_chats", "/core/logging/log_chats"); } guint gaim_prefs_connect_callback(const char *name, GaimPrefCallback func, gpointer data)