Mercurial > pidgin
diff src/connection.c @ 11698:a647f92e1d57
[gaim-migrate @ 13989]
Change the pref "Enable system log" to "Log all status changes" and
remove:
* Log when buddies log in/log out
* Log when buddies become idle/un-idle
* Log when buddies go away/come back
* Log your own signons/idleness/awayness
If the status change log is enable, then the above 4 things will all
be logged
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 20 Oct 2005 04:04:06 +0000 |
parents | 9f521a61ef58 |
children | fa742ad8068c |
line wrap: on
line diff
--- a/src/connection.c Thu Oct 20 03:48:22 2005 +0000 +++ b/src/connection.c Thu Oct 20 04:04:06 2005 +0000 @@ -280,8 +280,8 @@ /* Set the time the account came online */ time(&gc->login_time); - if (gaim_prefs_get_bool("/core/logging/log_system") && - gaim_prefs_get_bool("/core/logging/log_own_states")){ + if (gaim_prefs_get_bool("/core/logging/log_system")) + { GaimLog *log = gaim_account_get_log(account); char *msg = g_strdup_printf("+++ %s signed on", gaim_account_get_username(account)); @@ -328,8 +328,8 @@ else if (gc->state == GAIM_DISCONNECTED) { GaimAccount *account = gaim_connection_get_account(gc); - if(gaim_prefs_get_bool("/core/logging/log_system") && - gaim_prefs_get_bool("/core/logging/log_own_states")){ + if (gaim_prefs_get_bool("/core/logging/log_system")) + { GaimLog *log = gaim_account_get_log(account); char *msg = g_strdup_printf("+++ %s signed off", gaim_account_get_username(account));