Mercurial > pidgin
comparison src/gtkprefs.c @ 5642:1693a3027dc8
[gaim-migrate @ 6056]
Moved the add prefs for the GTK debug window back into gtkprefs.c. This was
causing a wonderful problem of debug prefs getting overwritten, so this is
unfortunately a special case. Aww, my prefs init :(
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 01 Jun 2003 21:18:48 +0000 |
parents | c6fb44711ab2 |
children | 18f7a2abc3fc |
comparison
equal
deleted
inserted
replaced
5641:5e9babc828c4 | 5642:1693a3027dc8 |
---|---|
2780 gaim_prefs_add_bool("/gaim/gtk/conversations/im/show_buddy_icons", TRUE); | 2780 gaim_prefs_add_bool("/gaim/gtk/conversations/im/show_buddy_icons", TRUE); |
2781 gaim_prefs_add_int("/gaim/gtk/conversations/im/default_width", 410); | 2781 gaim_prefs_add_int("/gaim/gtk/conversations/im/default_width", 410); |
2782 gaim_prefs_add_int("/gaim/gtk/conversations/im/default_height", 160); | 2782 gaim_prefs_add_int("/gaim/gtk/conversations/im/default_height", 160); |
2783 gaim_prefs_add_int("/gaim/gtk/conversations/im/entry_height", 50); | 2783 gaim_prefs_add_int("/gaim/gtk/conversations/im/entry_height", 50); |
2784 | 2784 |
2785 /* Debug window preferences. */ | |
2786 /* | |
2787 * NOTE: This must be set before prefs are loaded, and the callbacks | |
2788 * set after they are loaded, since prefs sets the enabled | |
2789 * preference here and that loads the window, which calls the | |
2790 * configure event, which overrrides the width and height! :P | |
2791 */ | |
2792 gaim_prefs_add_none("/gaim/gtk/debug"); | |
2793 gaim_prefs_add_bool("/gaim/gtk/debug/enabled", FALSE); | |
2794 gaim_prefs_add_bool("/gaim/gtk/debug/timestamps", FALSE); | |
2795 gaim_prefs_add_bool("/gaim/gtk/debug/toolbar", TRUE); | |
2796 gaim_prefs_add_int("/gaim/gtk/debug/width", 450); | |
2797 gaim_prefs_add_int("/gaim/gtk/debug/height", 250); | |
2798 | |
2785 /* Idle */ | 2799 /* Idle */ |
2786 gaim_prefs_add_none("/gaim/gtk/idle"); | 2800 gaim_prefs_add_none("/gaim/gtk/idle"); |
2787 gaim_prefs_add_string("/gaim/gtk/idle/reporting_method", "system"); | 2801 gaim_prefs_add_string("/gaim/gtk/idle/reporting_method", "system"); |
2788 | 2802 |
2789 /* Logging */ | 2803 /* Logging */ |