Mercurial > pidgin.yaz
diff src/buddy.c @ 5211:0241d6b6702d
[gaim-migrate @ 5581]
Wrote a new debugging API, and of course core/ui split it. Debug statements
can now have debug levels and categories, for future filtering of stuff,
and color highlighting. It's nifty, m'kay?
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 26 Apr 2003 06:46:08 +0000 |
parents | fefad67de2c7 |
children | 1cf4eb75e3ee |
line wrap: on
line diff
--- a/src/buddy.c Sat Apr 26 05:31:26 2003 +0000 +++ b/src/buddy.c Sat Apr 26 06:46:08 2003 +0000 @@ -635,6 +635,20 @@ } } +static void +toggle_debug(void) +{ + misc_options ^= OPT_MISC_DEBUG; + + if ((misc_options & OPT_MISC_DEBUG)) + gaim_gtk_debug_window_show(); + else + gaim_gtk_debug_window_hide(); + + save_prefs(); +} + + /*************************************************** * Crap * ***************************************************/