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

@ -1,3 +1,11 @@
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.
2003-12-30 Jody Goldberg <jody@gnome.org>
* Release 2.5.1.1

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);
}

View file

@ -788,22 +788,6 @@
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
<child>
<widget class="GtkLabel" id="label41">
<property name="visible">True</property>
<property name="label" translatable="yes">&lt;b&gt;_Lock screen to enforce typing break&lt;/b&gt;</property>
<property name="use_underline">True</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>