comparison 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
comparison
equal deleted inserted replaced
5210:39bb2a35f8d9 5211:0241d6b6702d
633 gtk_widget_destroy(gtkblist->tipwindow); 633 gtk_widget_destroy(gtkblist->tipwindow);
634 gtkblist->tipwindow = NULL; 634 gtkblist->tipwindow = NULL;
635 } 635 }
636 } 636 }
637 637
638 static void
639 toggle_debug(void)
640 {
641 misc_options ^= OPT_MISC_DEBUG;
642
643 if ((misc_options & OPT_MISC_DEBUG))
644 gaim_gtk_debug_window_show();
645 else
646 gaim_gtk_debug_window_hide();
647
648 save_prefs();
649 }
650
651
638 /*************************************************** 652 /***************************************************
639 * Crap * 653 * Crap *
640 ***************************************************/ 654 ***************************************************/
641 static GtkItemFactoryEntry blist_menu[] = 655 static GtkItemFactoryEntry blist_menu[] =
642 { 656 {