Mercurial > pidgin.yaz
comparison src/pounce.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 | 50224ac8184d |
children | bcc49c25ef90 |
comparison
equal
deleted
inserted
replaced
11255:1b1d63602d77 | 11256:bb0d7b719af2 |
---|---|
978 { | 978 { |
979 void *handle = gaim_pounces_get_handle(); | 979 void *handle = gaim_pounces_get_handle(); |
980 void *blist_handle = gaim_blist_get_handle(); | 980 void *blist_handle = gaim_blist_get_handle(); |
981 void *conv_handle = gaim_conversations_get_handle(); | 981 void *conv_handle = gaim_conversations_get_handle(); |
982 | 982 |
983 gaim_debug_register_category("pounce"); | |
984 | |
985 pounce_handlers = g_hash_table_new_full(g_str_hash, g_str_equal, | 983 pounce_handlers = g_hash_table_new_full(g_str_hash, g_str_equal, |
986 g_free, free_pounce_handler); | 984 g_free, free_pounce_handler); |
987 | 985 |
988 gaim_signal_connect(blist_handle, "buddy-idle", | 986 gaim_signal_connect(blist_handle, "buddy-idle", |
989 handle, GAIM_CALLBACK(buddy_state_cb), | 987 handle, GAIM_CALLBACK(buddy_state_cb), |
1019 save_timer = 0; | 1017 save_timer = 0; |
1020 sync_pounces(); | 1018 sync_pounces(); |
1021 } | 1019 } |
1022 | 1020 |
1023 gaim_signals_disconnect_by_handle(gaim_pounces_get_handle()); | 1021 gaim_signals_disconnect_by_handle(gaim_pounces_get_handle()); |
1024 | 1022 } |
1025 gaim_debug_unregister_category("pounce"); | |
1026 } |