2003-10-28  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=120842
	* gnome-accessibility-keyboard-properties.glade : Remove bone headed
	  spitting of checkbox and label.
	* accessibility-keyboard.c (setup_toggles) : It was probably done so
	  that the headers could be made bold.
This commit is contained in:
Jody Goldberg 2003-10-28 15:17:21 +00:00 committed by Jody Goldberg
parent 8d3997deff
commit 1e2bc8576b
3 changed files with 67 additions and 239 deletions

View file

@ -138,6 +138,7 @@ setup_toggles (GladeXML *dialog, GConfChangeSet *changeset)
{
GObject *peditor;
GtkWidget *checkbox;
GtkWidget *checkbox_label;
int i = G_N_ELEMENTS (features);
while (i-- > 0) {
@ -145,6 +146,10 @@ setup_toggles (GladeXML *dialog, GConfChangeSet *changeset)
g_return_if_fail (checkbox != NULL);
/* you can't do this from glade */
checkbox_label = gtk_bin_get_child (GTK_BIN (checkbox));
g_object_set (G_OBJECT (checkbox_label), "use_markup", TRUE, NULL);
g_object_set_data (G_OBJECT (checkbox), "dialog", dialog);
g_signal_connect (G_OBJECT (checkbox),
"toggled",