Sensitize events check box only if ESD is already enabled

2001-07-17  Bradford Hovinen  <hovinen@ximian.com>

	* sound-properties-capplet.c (setup_dialog): Sensitize events
	check box only if ESD is already enabled
This commit is contained in:
Bradford Hovinen 2001-07-17 15:29:57 +00:00 committed by Bradford Hovinen (Gdict maintainer)
parent 18878ac402
commit 76ce4bd35a
2 changed files with 5 additions and 0 deletions

View file

@ -1,5 +1,8 @@
2001-07-17 Bradford Hovinen <hovinen@ximian.com>
* sound-properties-capplet.c (setup_dialog): Sensitize events
check box only if ESD is already enabled
* sound-properties.glade: Prune dialog down to the two check
buttons

View file

@ -107,6 +107,8 @@ setup_dialog (GladeXML *dialog, Bonobo_PropertyBag bag)
{
CREATE_PEDITOR (boolean, "enable_esd", "enable_toggle");
CREATE_PEDITOR (boolean, "event_sounds", "events_toggle");
bonobo_peditor_set_guard (WID ("events_toggle"), bag, "enable_esd");
}
/* get_legacy_settings