diff src/status.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 bf6ba37db13b
children 58b8251c3d60
line wrap: on
line diff
--- a/src/status.c	Thu Oct 20 03:48:22 2005 +0000
+++ b/src/status.c	Thu Oct 20 04:04:06 2005 +0000
@@ -609,8 +609,7 @@
 {
 	GaimBlistUiOps *ops = gaim_blist_get_ui_ops();
 
-	if (gaim_prefs_get_bool("/core/logging/log_system") &&
-		gaim_prefs_get_bool("/core/logging/log_away_state"))
+	if (gaim_prefs_get_bool("/core/logging/log_system"))
 	{
 		time_t current_time = time(NULL);
 		const char *buddy_alias = gaim_buddy_get_alias(buddy);
@@ -1303,8 +1302,7 @@
 	{
 		gaim_signal_emit(gaim_blist_get_handle(), "buddy-idle", buddy);
 
-		if (gaim_prefs_get_bool("/core/logging/log_system") &&
-				gaim_prefs_get_bool("/core/logging/log_idle_state"))
+		if (gaim_prefs_get_bool("/core/logging/log_system"))
 		{
 			GaimLog *log = gaim_account_get_log(buddy->account);
 			char *tmp = g_strdup_printf(_("%s became idle"),
@@ -1319,8 +1317,7 @@
 	{
 		gaim_signal_emit(gaim_blist_get_handle(), "buddy-unidle", buddy);
 
-		if (gaim_prefs_get_bool("/core/logging/log_system") &&
-				gaim_prefs_get_bool("/core/logging/log_idle_state"))
+		if (gaim_prefs_get_bool("/core/logging/log_system"))
 		{
 			GaimLog *log = gaim_account_get_log(buddy->account);
 			char *tmp = g_strdup_printf(_("%s became unidle"),