Mercurial > pidgin
comparison src/log.c @ 11033:50224ac8184d
[gaim-migrate @ 12919]
Ok, this is debug window filtering. Sadrul was going to do this with a text entry, but I like this better, feel free to disagree with me. It's not the prettiest in a couple places, most notable gtkmain.c where a bunch of categories that don't currently have a home get registered. I added some plugin_(un)load functions to some plugins to place the (un)register functions. Though I didn't do that for the prpls. Comments and cleanups welcome. (Oh, I've been seeing some crashes on quit, but I haven't been able to get it to happen reliably so I'm not sure if it's my code or some transient HEAD oscar/other crash.)
committer: Tailor Script <tailor@pidgin.im>
author | Etan Reisner <pidgin@unreliablesource.net> |
---|---|
date | Tue, 28 Jun 2005 06:13:07 +0000 |
parents | 8d2007d738d5 |
children | 68652f4ad6a7 |
comparison
equal
deleted
inserted
replaced
11032:31c1c48daba1 | 11033:50224ac8184d |
---|---|
439 return g_list_sort(logs, gaim_log_compare); | 439 return g_list_sort(logs, gaim_log_compare); |
440 } | 440 } |
441 | 441 |
442 void gaim_log_init(void) | 442 void gaim_log_init(void) |
443 { | 443 { |
444 gaim_debug_register_category("log"); | |
445 | |
444 gaim_prefs_add_none("/core/logging"); | 446 gaim_prefs_add_none("/core/logging"); |
445 gaim_prefs_add_bool("/core/logging/log_ims", FALSE); | 447 gaim_prefs_add_bool("/core/logging/log_ims", FALSE); |
446 gaim_prefs_add_bool("/core/logging/log_chats", FALSE); | 448 gaim_prefs_add_bool("/core/logging/log_chats", FALSE); |
447 gaim_prefs_add_bool("/core/logging/log_system", FALSE); | 449 gaim_prefs_add_bool("/core/logging/log_system", FALSE); |
448 gaim_prefs_add_bool("/core/logging/log_signon_signoff", FALSE); | 450 gaim_prefs_add_bool("/core/logging/log_signon_signoff", FALSE); |