comparison 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
comparison
equal deleted inserted replaced
3456:b48065e52337 3457:222e23f91092
706 GtkWidget *vbox; 706 GtkWidget *vbox;
707 ret = gtk_vbox_new(FALSE, 18); 707 ret = gtk_vbox_new(FALSE, 18);
708 gtk_container_set_border_width (GTK_CONTAINER (ret), 12); 708 gtk_container_set_border_width (GTK_CONTAINER (ret), 12);
709 709
710 vbox = make_frame (ret, _("Message Logs")); 710 vbox = make_frame (ret, _("Message Logs"));
711 gaim_button(_("_Log all conversations"), &logging_options_new, OPT_LOG_ALL, vbox); 711 gaim_button(_("_Log all Instant Messages"), &logging_options_new, OPT_LOG_CONVOS, vbox);
712 gaim_button(_("Log all c_hats"), &logging_options_new, OPT_LOG_CHATS, vbox);
712 gaim_button(_("Strip _HTML from logs"), &logging_options_new, OPT_LOG_STRIP_HTML, vbox); 713 gaim_button(_("Strip _HTML from logs"), &logging_options_new, OPT_LOG_STRIP_HTML, vbox);
713 714
714 vbox = make_frame (ret, _("System Logs")); 715 vbox = make_frame (ret, _("System Logs"));
715 gaim_button(_("Log when buddies _sign on/sign off"), &logging_options_new, OPT_LOG_BUDDY_SIGNON, 716 gaim_button(_("Log when buddies _sign on/sign off"), &logging_options_new, OPT_LOG_BUDDY_SIGNON,
716 vbox); 717 vbox);
1613 static void set_logging_options() 1614 static void set_logging_options()
1614 { 1615 {
1615 int option = logging_options ^ logging_options_new; 1616 int option = logging_options ^ logging_options_new;
1616 logging_options = logging_options_new; 1617 logging_options = logging_options_new;
1617 1618
1618 if (option & OPT_LOG_ALL) 1619 if (option & OPT_LOG_CONVOS || option & OPT_LOG_CHATS)
1619 update_log_convs(); 1620 update_log_convs();
1620 1621
1621 } 1622 }
1622 1623
1623 static void set_blist_options() 1624 static void set_blist_options()