diff src/prefs.c @ 3457:222e23f91092

[gaim-migrate @ 3505] Deryni made it so we can all log chats and IMs seperately. He had it retain your old option--it would log both if you had it configured that way. I made it so that if you had logging on it will log IMs--but you'll have to turn on logging chats manually. So if you want to log chats, turn that on. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 28 Aug 2002 05:55:48 +0000
parents 0c281a80767d
children 7a3f16a375a5
line wrap: on
line diff
--- a/src/prefs.c	Wed Aug 28 02:38:19 2002 +0000
+++ b/src/prefs.c	Wed Aug 28 05:55:48 2002 +0000
@@ -708,7 +708,8 @@
 	gtk_container_set_border_width (GTK_CONTAINER (ret), 12);
 
 	vbox = make_frame (ret, _("Message Logs"));
-	gaim_button(_("_Log all conversations"), &logging_options_new, OPT_LOG_ALL, vbox);
+	gaim_button(_("_Log all Instant Messages"), &logging_options_new, OPT_LOG_CONVOS, vbox);
+	gaim_button(_("Log all c_hats"), &logging_options_new, OPT_LOG_CHATS, vbox);
 	gaim_button(_("Strip _HTML from logs"), &logging_options_new, OPT_LOG_STRIP_HTML, vbox);
 
 	vbox = make_frame (ret, _("System Logs"));
@@ -1615,7 +1616,7 @@
 	int option = logging_options ^ logging_options_new;
 	logging_options = logging_options_new;
 	
-	if (option & OPT_LOG_ALL)
+	if (option & OPT_LOG_CONVOS || option & OPT_LOG_CHATS)
 		update_log_convs();
 
 }