Mercurial > pidgin
comparison plugins/docklet/docklet.c @ 11256:bb0d7b719af2
[gaim-migrate @ 13430]
I give you regex filtering in the debug window.
We keep a buffer of all the text, so when unpausing all the messages that were output when paused will be displayed, as well as when you change the filter.
This _should_ be alright on systems that don't have regex.h but I haven't gotten anyone to test it recently, if it's busted, just #ifdef HAVE_REGEX_H it.
committer: Tailor Script <tailor@pidgin.im>
author | Gary Kramlich <grim@reaperworld.com> |
---|---|
date | Sat, 13 Aug 2005 22:09:34 +0000 |
parents | 1e65b7d442ca |
children | cae2fb7e8594 |
comparison
equal
deleted
inserted
replaced
11255:1b1d63602d77 | 11256:bb0d7b719af2 |
---|---|
469 void *conn_handle = gaim_connections_get_handle(); | 469 void *conn_handle = gaim_connections_get_handle(); |
470 void *conv_handle = gaim_conversations_get_handle(); | 470 void *conv_handle = gaim_conversations_get_handle(); |
471 void *accounts_handle = gaim_accounts_get_handle(); | 471 void *accounts_handle = gaim_accounts_get_handle(); |
472 void *core_handle = gaim_get_core(); | 472 void *core_handle = gaim_get_core(); |
473 | 473 |
474 gaim_debug_register_category("tray icon"); | |
475 | |
476 gaim_debug(GAIM_DEBUG_INFO, "tray icon", "plugin loaded\n"); | 474 gaim_debug(GAIM_DEBUG_INFO, "tray icon", "plugin loaded\n"); |
477 | 475 |
478 handle = plugin; | 476 handle = plugin; |
479 | 477 |
480 docklet_ui_init(); | 478 docklet_ui_init(); |
511 ui_ops->destroy(); | 509 ui_ops->destroy(); |
512 | 510 |
513 docklet_remove_callbacks(); | 511 docklet_remove_callbacks(); |
514 | 512 |
515 gaim_debug(GAIM_DEBUG_INFO, "tray icon", "plugin unloaded\n"); | 513 gaim_debug(GAIM_DEBUG_INFO, "tray icon", "plugin unloaded\n"); |
516 | |
517 gaim_debug_register_category("tray icon"); | |
518 | 514 |
519 return TRUE; | 515 return TRUE; |
520 } | 516 } |
521 | 517 |
522 static GtkWidget * | 518 static GtkWidget * |