Mercurial > pidgin
comparison src/gtkdebug.c @ 5684:b61520e71679
[gaim-migrate @ 6104]
sound is now really core/ui split.
committer: Tailor Script <tailor@pidgin.im>
| author | Nathan Walp <nwalp@pidgin.im> |
|---|---|
| date | Tue, 03 Jun 2003 03:33:20 +0000 |
| parents | 1693a3027dc8 |
| children | aa8dbb7e0a4d |
comparison
equal
deleted
inserted
replaced
| 5683:9befba33f7c8 | 5684:b61520e71679 |
|---|---|
| 194 } | 194 } |
| 195 | 195 |
| 196 void | 196 void |
| 197 gaim_gtk_debug_init(void) | 197 gaim_gtk_debug_init(void) |
| 198 { | 198 { |
| 199 /* Debug window preferences. */ | |
| 200 /* | |
| 201 * NOTE: This must be set before prefs are loaded, and the callbacks | |
| 202 * set after they are loaded, since prefs sets the enabled | |
| 203 * preference here and that loads the window, which calls the | |
| 204 * configure event, which overrrides the width and height! :P | |
| 205 */ | |
| 206 | |
| 207 gaim_prefs_add_none("/gaim/gtk/debug"); | |
| 208 gaim_prefs_add_bool("/gaim/gtk/debug/enabled", FALSE); | |
| 209 gaim_prefs_add_bool("/gaim/gtk/debug/timestamps", FALSE); | |
| 210 gaim_prefs_add_bool("/gaim/gtk/debug/toolbar", TRUE); | |
| 211 gaim_prefs_add_int("/gaim/gtk/debug/width", 450); | |
| 212 gaim_prefs_add_int("/gaim/gtk/debug/height", 250); | |
| 213 | |
| 199 gaim_prefs_connect_callback("/gaim/gtk/debug/enabled", | 214 gaim_prefs_connect_callback("/gaim/gtk/debug/enabled", |
| 200 debug_enabled_cb, NULL); | 215 debug_enabled_cb, NULL); |
| 201 } | 216 } |
| 202 | 217 |
| 203 void | 218 void |
| 204 gaim_gtk_debug_window_show(void) | 219 gaim_gtk_debug_window_show(void) |
| 205 { | 220 { |
