Commit graph

17 commits

Author SHA1 Message Date
Marc-Andre Lureau
5beb200f1c Fixes #392276
2007-01-06  Marc-Andre Lureau  <marcandre.lureau@gmail.com>

	Fixes #392276

	* gnome-settings-sound.c: #ifdef esd-related code.

svn path=/trunk/; revision=7065
2007-01-06 21:20:16 +00:00
Paolo Borelli
15bf0dc355 Fixes #342568
2006-05-23  Paolo Borelli <pborelli@katamail.com>

	Fixes #342568

	* gnome-settings-sound.c (reload_foreach_cb): fixed leak.
2006-05-24 13:41:12 +00:00
Rodrigo Moya
02219366c6 don't spawn esd, already done by libesound.
2006-03-02  Rodrigo Moya <rodrigo@novell.com>

	* gnome-settings-sound.c (start_esd): don't spawn esd, already done
	by libesound.
2006-03-03 10:07:11 +00:00
Rodrigo Moya
b4622dda5d only start esd if not running.
2006-02-06  Rodrigo Moya <rodrigo@novell.com>

	* gnome-settings-sound.c (start_esd): only start esd if not running.
2006-02-06 18:02:02 +00:00
Scott Reeves
d9d55d1dd6 only disable sounds for system events. (apply_settings): ditto.
2006-01-11  Scott Reeves <SReeves@novell.com>

	* gnome-settings-sound.c (reload_foreach_cb): only disable sounds
	for system events.
	(apply_settings): ditto.
2006-01-11 10:17:21 +00:00
Rodrigo Moya
bdf94c17e1 declare a global GConfClient. (main): unref the global GConfClient.
2005-10-16  Rodrigo Moya <rodrigo@novell.com>

	* factory.c: declare a global GConfClient.
	(main): unref the global GConfClient.

	* gnome-settings-daemon.[ch] (gnome_settings_daemon_get_conf_client):
	new function to use the same GConfClient everywhere.
	(gnome_settings_daemon_new): use the global GConfClient.

	* gnome-settings-accessibility-keyboard.c (set_server_from_gconf,
	ax_response_callback, set_gconf_from_server):
	* gnome-settings-gtk1theme.c (apply_settings):
	* gnome-settings-keybindings.c (bindings_get_entry):
	* gnome-settings-keyboard.c (numlock_get_gconf_state,
	numlock_set_gconf_state, apply_settings):
	* gnome-settings-keyboard-xkb.c (apply_xkb_settings,
	gnome_settings_keyboard_xkb_sysconfig_changed_response,
	gnome_settings_keyboard_xkb_analyze_sysconfig,
	gnome_settings_chk_file_list):
	* gnome-settings-screensaver.c (key_toggled_cb,
	really_start_screensaver):
	* gnome-settings-sound.c (apply_settings):
	* gnome-settings-xmodmap.c (check_button_callback,
	gnome_settings_load_modmap_files, remove_button_clicked_callback,
	load_button_clicked_callback, gnome_settings_modmap_dialog_call):
	* gnome-settings-xsettings.c (xft_callback):
	use the global GConfClient.

	* gnome-settings-keyboard-xkb.c (gnome_settings_keyboard_xkb_load):
	don't get another GConfClient when we're getting one passed!
2005-10-17 14:53:19 +00:00
Sebastien Bacher
581c37e2bb Cleanup of gconf and a few other things, patch from Kjartan Maraas
2005-05-22  Sebastien Bacher  <seb128@debian.org>

        * ChangeLog capplets/about-me/e-image-chooser.c
        capplets/accessibility/at-properties/at-startup-session.h
        capplets/accessibility/keyboard/accessibility-keyboard.c
        capplets/background/gnome-wp-info.c
        capplets/common/gconf-property-editor.c
        capplets/common/gnome-theme-apply.c
        capplets/default-applications/gnome-default-applications-properties.c
        capplets/keybindings/gnome-keybinding-properties.c
        capplets/keyboard/gnome-keyboard-properties.c
        capplets/mouse/gnome-mouse-properties.c
        capplets/network/gnome-network-preferences.c
        capplets/sound/sound-properties-capplet.c
        capplets/theme-switcher/gnome-theme-details.c
        capplets/theme-switcher/gnome-theme-manager.c
        capplets/ui-properties/gnome-ui-properties.c
        capplets/windows/gnome-window-properties.c
        gnome-settings-daemon/factory.c
        gnome-settings-daemon/gnome-settings-accessibility-keyboard.c
        gnome-settings-daemon/gnome-settings-background.c
        gnome-settings-daemon/gnome-settings-daemon.c
        gnome-settings-daemon/gnome-settings-daemon.h
        gnome-settings-daemon/gnome-settings-font.c
        gnome-settings-daemon/gnome-settings-keybindings.c
        gnome-settings-daemon/gnome-settings-keybindings.h
        gnome-settings-daemon/gnome-settings-keyboard-xkb.c
        gnome-settings-daemon/gnome-settings-keyboard.c
        gnome-settings-daemon/gnome-settings-locate-pointer.h
        gnome-settings-daemon/gnome-settings-mouse.c
        gnome-settings-daemon/gnome-settings-multimedia-keys.c
        gnome-settings-daemon/gnome-settings-screensaver.c
        gnome-settings-daemon/gnome-settings-sound.c
        gnome-settings-daemon/gnome-settings-xmodmap.c
        gnome-settings-daemon/gnome-settings-xrdb.c
        gnome-settings-daemon/gnome-settings-xsettings.c
        libbackground/applier.c libbackground/applier.h
        libbackground/preferences.c libsounds/sound-properties.c
        libsounds/sound-view.h libwindow-settings/gnome-wm-manager.c
        libwindow-settings/metacity-window-manager.c
        typing-break/drw-break-window.c typing-break/drw-utils.h
        typing-break/drwright.c vfs-methods/fontilus/font-view.c
        vfs-methods/themus/themus-theme-applier.c:
        Cleanup of gconf and a few other things,
        patch from Kjartan Maraas <kmaraas@gnome.org> (Closes: #301945).
2005-05-22 15:46:45 +00:00
Jody Goldberg
4d659c1ed8 http://bugzilla.gnome.org/show_bug.cgi?id=91535 as michael points out it
2002-10-08  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=91535
	* gnome-settings-sound.c : as michael points out it is silly to start
	  the daemon just so that we can stop it.  Dunno much about esound
	  code so the funky logic is left untouched.
2002-10-08 16:53:53 +00:00
Michael Meeks
f40d584822 flag that we scuppered the remote daemon. (apply_settings): resume it if
2002-08-07  Michael Meeks  <michael@ximian.com>

        * gnome-settings-sound.c (stop_esd): flag that
        we scuppered the remote daemon.
        (apply_settings): resume it if we killed it,
        don't kill it more than once.
        Don't iterate over all the sounds and try to
        push to the server if we have sound disabled,
        saves a chunk of time.
        This fixes the 'toggle sound a lot breaks it' bug.
2002-08-08 04:26:12 +00:00
Jody Goldberg
3bf58de536 patch from Brian Cameron
2002-07-10  Jody Goldberg <jody@gnome.org>
	patch from Brian Cameron

	* configure.in : look for path to esound
2002-07-10 14:42:06 +00:00
Jonathan Blandford
fe993790aa Remove all debug print statements, #76085
Tue May 14 14:50:34 2002  Jonathan Blandford  <jrb@redhat.com>

	* gnome-settings-*.c: Remove all debug print statements, #76085
2002-05-14 18:52:34 +00:00
Kjartan Maraas
7e5b5a29d7 Add calls to bindtext* for i18n. Add -DGNOMELOCALEDIR="\".....\"" Mark
2002-04-30  Kjartan Maraas  <kmaraas@gnome.org>

	* factory.c: Add calls to bindtext* for i18n.
	* Makefile.am: Add -DGNOMELOCALEDIR="\".....\""
	* gnome-settings-font.c: Mark strings and add #includes.
	* gnome-settings-screensaver.c: Same
	* gnome-settings-sound.c: Same.
	* gnome-settings-xsettings.c: Same.
	* gnome-settings-wm.c: Fix a warning.
2002-04-30 09:45:05 +00:00
Rachel Hestilow
d4e6287116 s/Richard/Rachel
2002-04-21  Rachel Hestilow  <hestilow@ximian.com>

	* *.c: s/Richard/Rachel

	* configure.in: Bump version to 1.99.7

	* RELEASE: 1.99.7
2002-04-21 21:22:35 +00:00
Lauris Kaplinski
35e192827a Lot of little fixes to make it to compile without most of the deprecated stuff 2002-02-04 17:48:43 +00:00
Richard Hestilow
93763d7ddb Initialize libgnomeui, and load sounds.
2002-01-08  Richard Hestilow  <hestilow@ximian.com>

	* gnome-settings-daemon.c (main): Initialize libgnomeui,
	and load sounds.

	* gnome-settings-sound.c (stop_esd): Just tell esd to let go
	of /dev/dsp.
2002-01-08 14:54:35 +00:00
Bradford Hovinen
68257fcb34 Implement. Sets the GConf value either in the changeset, or if changeset
2002-01-04  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (peditor_set_gconf_value):
	Implement. Sets the GConf value either in the changeset, or if
	changeset is NULL, directly
	(peditor_*_widget_changed): Use peditor_set_gconf_value
	(gconf_peditor_new_*): Don't complain if changeset is NULL
2002-01-04 20:48:17 +00:00
Richard Hestilow
fe80b10e7f Added.
2001-01-04  Richard Hestilow  <hestilow@ximian.com>

	* gnome-settings-sound.[ch]: Added.

	* Makefile.am: Add gnome-settings-sound sources, link to libsounds.

	* gnome-settings-daemon.c: Call gnome_settings_sound_init.
2002-01-04 17:50:44 +00:00