Mercurial > pidgin
diff plugins/docklet/docklet.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 | d8b0b9c5ffd7 |
| children | 1e65b7d442ca |
line wrap: on
line diff
--- a/plugins/docklet/docklet.c Sun Jun 26 01:14:51 2005 +0000 +++ b/plugins/docklet/docklet.c Tue Jun 28 06:13:07 2005 +0000 @@ -471,6 +471,8 @@ void *accounts_handle = gaim_accounts_get_handle(); void *core_handle = gaim_get_core(); + gaim_debug_register_category("tray icon"); + gaim_debug(GAIM_DEBUG_INFO, "tray icon", "plugin loaded\n"); handle = plugin; @@ -512,6 +514,8 @@ gaim_debug(GAIM_DEBUG_INFO, "tray icon", "plugin unloaded\n"); + gaim_debug_register_category("tray icon"); + return TRUE; }
