Mercurial > pidgin.yaz
diff src/protocols/yahoo/yahoo.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 | 2bda44d66641 |
children | 629cbfd1ed6d |
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c Sun Jun 26 01:14:51 2005 +0000 +++ b/src/protocols/yahoo/yahoo.c Tue Jun 28 06:13:07 2005 +0000 @@ -3330,6 +3330,10 @@ static gboolean yahoo_unload_plugin(GaimPlugin *plugin) { yahoo_dest_colorht(); + + gaim_debug_unregister_category("yahoo"); + gaim_debug_unregister_category("yahoo_filexfer"); + return TRUE; } @@ -3557,6 +3561,9 @@ { GaimAccountOption *option; + gaim_debug_register_category("yahoo"); + gaim_debug_register_category("yahoo_filexfer"); + option = gaim_account_option_bool_new(_("Yahoo Japan"), "yahoojp", FALSE); prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option);