comparison src/gtkdebug.c @ 8002:c94f2dad3b73

[gaim-migrate @ 8679] xgrimx made the Timestamps button reflect the setting. I was sure I did that before... It must be the goblins. It's *always* the goblins. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Mon, 05 Jan 2004 03:11:35 +0000
parents 26fe5055e0b0
children fa6395637e2c
comparison
equal deleted inserted replaced
8001:934f5df83b29 8002:c94f2dad3b73
177 button = gtk_toolbar_append_element(GTK_TOOLBAR(toolbar), 177 button = gtk_toolbar_append_element(GTK_TOOLBAR(toolbar),
178 GTK_TOOLBAR_CHILD_TOGGLEBUTTON, 178 GTK_TOOLBAR_CHILD_TOGGLEBUTTON,
179 NULL, _("Timestamps"), NULL, NULL, 179 NULL, _("Timestamps"), NULL, NULL,
180 NULL, G_CALLBACK(timestamps_cb), 180 NULL, G_CALLBACK(timestamps_cb),
181 win); 181 win);
182 182
183 gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button),
184 gaim_prefs_get_bool("/gaim/gtk/debug/timestamps"));
185
183 win->timestamps_handle = 186 win->timestamps_handle =
184 gaim_prefs_connect_callback("/gaim/gtk/debug/timestamps", 187 gaim_prefs_connect_callback("/gaim/gtk/debug/timestamps",
185 timestamps_pref_cb, button); 188 timestamps_pref_cb, button);
186 } 189 }
187 190
415 GaimDebugUiOps * 418 GaimDebugUiOps *
416 gaim_gtk_debug_get_ui_ops(void) 419 gaim_gtk_debug_get_ui_ops(void)
417 { 420 {
418 return &ops; 421 return &ops;
419 } 422 }
420