Mercurial > pidgin.yaz
comparison plugins/gevolution/gevolution.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 | 5a8bc4b1f5b6 |
| children | 51832ad72a6b |
comparison
equal
deleted
inserted
replaced
| 11255:1b1d63602d77 | 11256:bb0d7b719af2 |
|---|---|
| 319 } | 319 } |
| 320 | 320 |
| 321 static gboolean | 321 static gboolean |
| 322 plugin_load(GaimPlugin *plugin) | 322 plugin_load(GaimPlugin *plugin) |
| 323 { | 323 { |
| 324 gaim_debug_register_category("evolution"); | |
| 325 | |
| 326 bonobo_activate(); | 324 bonobo_activate(); |
| 327 | 325 |
| 328 backup_blist_ui_ops = gaim_blist_get_ui_ops(); | 326 backup_blist_ui_ops = gaim_blist_get_ui_ops(); |
| 329 | 327 |
| 330 blist_ui_ops = g_memdup(backup_blist_ui_ops, sizeof(GaimBlistUiOps)); | 328 blist_ui_ops = g_memdup(backup_blist_ui_ops, sizeof(GaimBlistUiOps)); |
| 360 if (book != NULL) | 358 if (book != NULL) |
| 361 { | 359 { |
| 362 g_object_unref(book); | 360 g_object_unref(book); |
| 363 book = NULL; | 361 book = NULL; |
| 364 } | 362 } |
| 365 | |
| 366 gaim_debug_unregister_category("evolution"); | |
| 367 | 363 |
| 368 return TRUE; | 364 return TRUE; |
| 369 } | 365 } |
| 370 | 366 |
| 371 static void | 367 static void |
