2007-01-03  Marc-Andre Lureau  <marcandre.lureau@gmail.com>

	Fixes #392276

	* sound-properties-capplet.c (setup_dialog): #ifdef esd-related code.

svn path=/trunk/; revision=7063
This commit is contained in:
Marc-Andre Lureau 2007-01-06 21:17:29 +00:00 committed by Rodrigo Moya
parent 91b5f3ecef
commit 113c4c4fb1
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2007-01-03 Marc-Andre Lureau <marcandre.lureau@gmail.com>
Fixes #392276
* sound-properties-capplet.c (setup_dialog): #ifdef esd-related code.
2007-01-06 Lucas Rocha <lucasr.at.mundo@gmail.com>
Fixes #336286

View file

@ -713,10 +713,13 @@ setup_dialog (GladeXML *dialog, GConfChangeSet *changeset)
WID ("chat_audio_capture_test"),
"gconfaudiosrc" AUDIO_TEST_IN_BETWEEN "gconfaudiosink profile=chat");
#ifdef HAVE_ESD
peditor = gconf_peditor_new_boolean (NULL, ENABLE_ESD_KEY, WID ("enable_toggle"), NULL);
gconf_peditor_widget_set_guard (GCONF_PROPERTY_EDITOR (peditor), WID ("events_toggle"));
gconf_peditor_widget_set_guard (GCONF_PROPERTY_EDITOR (peditor), WID ("events_vbox"));
#else
gtk_widget_hide (WID ("enable_toggle"));
#endif
gconf_peditor_new_boolean (NULL, EVENT_SOUNDS_KEY, WID ("events_toggle"), NULL);
gconf_peditor_new_boolean (NULL, AUDIO_BELL_KEY, WID ("bell_audible_toggle"), NULL);