comparison src/status.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 b4b1be482b4e
children 90be432e8385
comparison
equal deleted inserted replaced
11255:1b1d63602d77 11256:bb0d7b719af2
1721 void 1721 void
1722 gaim_status_init(void) 1722 gaim_status_init(void)
1723 { 1723 {
1724 void *handle = gaim_status_get_handle; 1724 void *handle = gaim_status_get_handle;
1725 1725
1726 gaim_debug_register_category("status");
1727
1728 gaim_prefs_add_none("/core/status"); 1726 gaim_prefs_add_none("/core/status");
1729 gaim_prefs_add_none("/core/status/scores"); 1727 gaim_prefs_add_none("/core/status/scores");
1730 1728
1731 gaim_prefs_add_int("/core/status/scores/offline", 1729 gaim_prefs_add_int("/core/status/scores/offline",
1732 primitive_scores[GAIM_STATUS_OFFLINE]); 1730 primitive_scores[GAIM_STATUS_OFFLINE]);
1772 { 1770 {
1773 g_hash_table_destroy(buddy_presences); 1771 g_hash_table_destroy(buddy_presences);
1774 1772
1775 buddy_presences = NULL; 1773 buddy_presences = NULL;
1776 } 1774 }
1777 1775 }
1778 gaim_debug_unregister_category("status");
1779 }