Enable markup for the break enabled toggle with code instead of with a

2004-01-11  Richard Hult  <richard@imendio.com>

	* gnome-keyboard-properties.glade:
	* gnome-keyboard-properties.c (setup_dialog): Enable markup for
	the break enabled toggle with code instead of with a custom child
	for the toggle since that doesn't work with new libglade. Fixes
	bug #131122.
This commit is contained in:
Richard Hult 2004-01-11 17:20:00 +00:00 committed by Richard Hult
parent db611b6b6f
commit 04bb3c9a3a
3 changed files with 11 additions and 17 deletions

View file

@ -166,7 +166,9 @@ setup_dialog (GladeXML *dialog,
gconf_peditor_new_boolean
(changeset, "/desktop/gnome/typing_break/allow_postpone", WID ("break_postponement_toggle"), NULL);
g_signal_connect (G_OBJECT (WID ("keyboard_dialog")), "response", (GCallback) dialog_response, changeset);
gtk_label_set_use_markup (GTK_LABEL (GTK_BIN (WID ("break_enabled_toggle"))->child), TRUE);
setup_xkb_tabs(dialog,changeset);
}