Commit graph

238 commits

Author SHA1 Message Date
Jan Arne Petersen
a196720a15 Fixes #395083
2007-01-10  Jan Arne Petersen  <jpetersen@jpetersen.org>

	Fixes #395083

	* actions/acme-volume-gstreamer.c: (acme_volume_gstreamer_open): added
	missing NULL-check.


svn path=/trunk/; revision=7128
2007-01-10 17:33:07 +00:00
Jan Arne Petersen
90b67faf65 Fixes #173035
2007-01-08  Jan Arne Petersen  <jpetersen@jpetersen.org>

	Fixes #173035

	* configure.in: updated sound capplet requirements.

	* gnome-settings-daemon/actions/Makefile.am:
	* gnome-settings-daemon/actions/acme-volume-gstreamer.c:
	(acme_volume_gstreamer_finalize), (acme_volume_gstreamer_set_mute),
	(update_state), (acme_volume_gstreamer_get_mute),
	(acme_volume_gstreamer_get_volume),
	(acme_volume_gstreamer_set_volume),
	(acme_volume_gstreamer_close_real), (_acme_set_mixer),
	(acme_volume_gstreamer_open), (acme_volume_gstreamer_init): added
	support for multiple mixer tracks. Added support for gconf device and
	track selection.

	* capplets/sound/Makefile.am, mixer-support.c, mixer-support.h: Add new files.
	* capplets/sound/sound-properties-capplet.c: (mixer_device_combobox_changed),
	(add_track_label_to_list), (mixer_tracks_selection_changed),
	(update_mixer_tracks_selection), (default_mixer_tracks_notify),
	(update_mixer_device_combobox), (default_mixer_device_notify),
	(setup_default_mixer), (setup_dialog):
	* capplets/sound/sound-properties.glade: added support for selecting mixer device and
	tracks in the capplet.


svn path=/trunk/; revision=7113
2007-01-08 22:50:39 +00:00
Jan Arne Petersen
3207820bf8 updated svn:ignore property.
2007-01-08  Jan Arne Petersen <jap@gnome.org>

	* ./: updated svn:ignore property.


svn path=/trunk/; revision=7110
2007-01-08 22:28:18 +00:00
Jan Arne Petersen
d56caecf8e added new files from previous patch to svn.
2007-01-08  Jan Arne Petersen <jap@gnome.org>

	* gnome-settings-dbus.h, gnome-settings-marshal.list: added new files
	from previous patch to svn.


svn path=/trunk/; revision=7107
2007-01-08 20:30:07 +00:00
Jan Arne Petersen
989857cd9f Fixes #133815
2007-01-08  Jan Arne Petersen <jap@gnome.org>

	Fixes #133815

	* gnome-settings-multimedia-keys.c: added support for storing the DBus
	server.
	(unhookup_keysim, hookup_keysim): removed.
	(update_kbd_cb, init_kbd, acme_filter_events): iterate over all handled
	keys, not just until the PLAY_KEY.
	(do_multimedia_player_action): emit the "media_player_key_pressed" event.
	(do_action): call do_multimedia_player_action for all media player events.
	(gnome_settings_multimedia_keys_load): start a DBus server.

	* gnome-settings-dbus.c: added "media_player_key_pressed" signal.
	(find_by_application, find_by_time): new functions to search in the list
	of media players.
	(settings_daemon_grab_media_player_keys,
	settings_daemon_release_media_player_keys): new functions to grab/release
	the media players.
	(gnome_settings_server_get): new function to create GnomeSettingsServer
	objects.
	(gnome_settings_server_media_player_key_pressed,
	gnome_settings_server_constructor): new functions.
	(gnome_settings_server_class_init): add new signal and constructor.

	* gnome-settings-dbus.h: new file.

	* gsd-infos.xml: added GrabMediaPlayerKeys and ReleaseMediaPlayerKeys
	methods to the DBus interface.

	* gnome-settings-marshal.list, Makefile.am: generate marshalling
	functions.

svn path=/trunk/; revision=7097
2007-01-08 16:48:19 +00:00
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
Dan Winship
e697f84e93 new method to delay showing a dialog until after the window manager is
* delayed-dialog.c (gnome_settings_delayed_show_dialog): new
        method to delay showing a dialog until after the window manager is
        running.

        * gnome-settings-font.c (load_cursor):
        * gnome-settings-keyboard-xkb.c (activation_error): Use it.
2006-10-16 15:01:00 +00:00
Andre Klapper
6ea13022e9 Fixes #170318
2006-08-24  Andre Klapper <a9016009@gmx.de>

	Fixes #170318

	* gnome-settings-multimedia-keys.c (init_kbd): avoid grabbing all
	the keyboard when the key code cannot be retrieved.
2006-08-24 14:44:43 +00:00
Sebastien Bacher
0baf196a6a fix distclean build target
2006-07-11  Sebastien Bacher  <seb128@debian.org>

	* Makefile.am: fix distclean build target
2006-07-11 16:24:17 +00:00
Sebastien Bacher
806edbd686 clean variables not used
2006-07-11  Sebastien Bacher  <seb128@debian.org>

	* Makefile.am: clean variables not used
2006-07-11 16:12:38 +00:00
Sergey V. Udaltsov
da40a9f294 Fixing the build process 2006-07-06 19:45:13 +00:00
Sergey V. Udaltsov
9412291893 Enabling DBUS, getting rid of bonobo, libgswitchit API update 2006-06-25 02:16:06 +00:00
Paolo Borelli
1b22593720 Fixes #342570
2006-05-24  Paolo Borelli <pborelli@katamail.com>

	Fixes #342570

	* gnome-settings-multimedia-keys.c (update_kbd_cb, do_eject_action):
	fixed leaked strings returned from gconf_client_get_string.
2006-05-24 13:46:23 +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
Joe Marcus Clarke
71339b526e Fixes #338849
2006-04-28  Joe Marcus Clarke <marcusi@freebsd.org>

	Fixes #338849

	* actions/acme-volume-gstreamer.c: added missing header to avoid
	64bit crash on missing prototype.
2006-04-28 10:34:16 +00:00
Bastien Nocera
8bf679ab31 remove checks for fb-level support Remove the brightness keybindings
2006-04-27  Bastien Nocera  <hadess@hadess.net>

	* configure.in: remove checks for fb-level support
	* schemas/apps_gnome_settings_daemon_keybindings.schemas.in:
	Remove the brightness keybindings (Closes: #339857)

2006-04-27  Bastien Nocera  <hadess@hadess.net>

	* gnome-keybinding-properties.c: remove brightness keybindings, as
	they duplicate with gnome-power-manager's (greater) functionality
	(Closes: #339857)

2006-04-27  Bastien Nocera  <hadess@hadess.net>

	* actions/Makefile.am:
	* actions/acme-brightness.png:
	* actions/acme-fb-level.c:
	* actions/acme-fb-level.h:
	* actions/acme.h:
	* gnome-settings-multimedia-keys.c: (do_action),
	(acme_filter_events), (gnome_settings_multimedia_keys_load):
	Remove references to the brightness controls, we have moved the
	functionality (and enhanced it!) to gnome-power-manager
	(Closes: #339857)
2006-04-27 09:50:43 +00:00
Sergey V. Udaltsov
83936013d4 small fixes, bug #333091 2006-04-20 22:21:10 +00:00
Ray Strode
8aa8b24d82 fix potential (tiny, hard to trigger) overrun (bug 338254)
2006-04-17  Ray Strode <rstrode@redhat.com>

	* gnome-settings-mouse.c (configure_button_layout): fix
	potential (tiny, hard to trigger) overrun (bug 338254)
2006-04-17 15:07:20 +00:00
Marien Zwart
5f2d2e2b75 Fixes #323724
2006-04-10  Marien Zwart <marienz@gentoo.org>

	Fixes #323724

	* gnome-settings-mouse.c (configure_button_layout): fixed button
	mapping with evdev/left handed.
2006-04-10 12:45:08 +00:00
Arjan Timmerman
8ac6a35a19 Fixes #334153
2006-03-29  Arjan Timmerman <arjani@soulfly.nl>

        Fixes #334153

	* factory.c (register_server): no trim needed. Now really fixed.
2006-03-29 16:18:42 +00:00
Rodrigo Moya
d65761b250 set DISPLAY environment variable as it is, no trimming needed.
2006-03-23  Rodrigo Moya <rodrigo@novell.com>

	* factory.c (register_server): set DISPLAY environment variable as
	it is, no trimming needed.
2006-03-23 14:59:44 +00:00
Michael Witrant
1196b0822f Fixes #94049
2006-03-06  Michael Witrant <mike@lepton.fr>

	Fixes #94049

	* factory.c (register_server): new function, does the registration
	per DISPLAY.
	(main): call register_server.
2006-03-06 22:40:54 +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
Jens Granseuer
6a122e312a Fixes #331168
2006-02-15  Jens Granseuer <jensgr@gmx.net>

	Fixes #331168

	* acme-volume-gstreamer.c (acme_volume_gstreamer_open): C89 compilation
	fixes.
2006-02-15 14:20:38 +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
Rodrigo Moya
37927636ab reverted commit from 2006-01-11.
2006-01-30  Rodrigo Moya <rodrigo@novell.com>

	* gnome-settings-multimedia-keys.c: reverted commit from 2006-01-11.
2006-01-30 15:02:50 +00:00
chpe
4342a92bed Fixes #325686
2006-01-28  chpe <chpe@gnome.org>

	Fixes #325686

	* gnome-settings-accessibility-keyboard.c (warning_dialog_post):
	added "accept_action" and "reject_action" arguments to show that in
	the buttons, rather than OK/CANCEL.
	(ax_slowkeys_warning_keys, ax_stickykeys_warning_dialog_post): use
	verbs in the buttons.
2006-01-28 19:19:02 +00:00
Scott Bronson
c6b3b5880e Fixes #318056
2006-01-28  Scott Bronson <bronson@rinspin.com>

	Fixes #318056

	* gnome-settings-font.c (load_cursor): use "mouse pointer" instead of
	"cursor" in user-visible strings.
2006-01-28 15:42:06 +00:00
Rodrigo Moya
b17e24b25c use g_mkdir_with_parents instead of creating the whole hierarchy by hand.
2006-01-17  Rodrigo Moya <rodrigo@novell.com>

	* gnome-settings-font.c (load_cursor): use g_mkdir_with_parents instead
	of creating the whole hierarchy by hand.
2006-01-17 15:43:50 +00:00
Sebastien Bacher
95ceaa7ea5 optional use of gstreamer0.10, patch based on the work
done by Saleem Abdulrasool and Tim-Philipp Mller (Fixes: #326257)
2006-01-15 21:56:50 +00:00
Rodney Dawes
90c31372c9 Set the Net/FallbackIconTheme XSetting for new versions of
2006-01-14  Rodney Dawes  <dobey@novell.com>

	* gnome-settings-xsettings.c (xsettings_callback):
	(gnome_settings_xsettings_load): Set the Net/FallbackIconTheme
	XSetting for new versions of gnome-icon-theme and gtk+ >= 2.8.10

	See bug #325546
2006-01-15 18:22:07 +00:00
Sebastien Bacher
b62b47635a reviewed by: Bastien Nocera <hadess@hadess.net>
2006-01-11  Sebastien Bacher  <seb128@debian.org>

	reviewed by: Bastien Nocera <hadess@hadess.net>

	* actions/acme-fb-level.c: (acme_fblevel_error_quark),
	(acme_fblevel_new):
	* actions/acme-fb-level.h:
	* gnome-settings-multimedia-keys.c:
	(gnome_settings_multimedia_keys_load):
	cleanup messages about pmu on powerbook,
	patch by Jeroen Zwartepoorte <jeroen.zwartepoorte@gmail.com>
	(Closes: #132655)
2006-01-11 18:37:17 +00:00
Sebastien Bacher
1cd8e070fd drop the keysym/keycode binding code, it's an hack and
doesn't work fine, patch by Bastien Nocera <hadess@hadess.net>
(Closes: #133815)
2006-01-11 15:10:13 +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
Łukasz Stelmach
14a749667f Fixes #320727
2006-01-03  Łukasz Stelmach <stlman@poczta.fm>

	Fixes #320727

	* xrdb/Emacs.ad: added more settings to make Emacs' UI mimic better
	GNOME's look & feel.
2006-01-03 12:10:28 +00:00
jenglish
23a1f32c5b Fixes #130299
2006-01-03  jenglish <jenglish@flightlab.com>

	Fixes #130299

	* xrdb/Tk.ad: restores prelight/active/mouse-over feedback for Tk
	buttons, checkbuttons, scrollbars, etc.
2006-01-03 10:44:34 +00:00
Matthias Clasen
f6c3cd23ca Fixes #323895
2005-12-14  Matthias Clasen  <mclasen@redhat.com>

	Fixes #323895

	* gnome-settings-xsettings.c: Support the symbolic colors setting
	in GTK+ 2.10.
2005-12-14 13:46:14 +00:00
Philippe Troin
38047c8ff5 Fixes #323690
2005-12-12  Philippe Troin <phil@fifi.org>

	Fixes #323690

	* gnome-settings-multimedia-keys.c (update_kbd_cb, init_kbd): don't
	grab keyboard when invalid keys are present in the GConf database.
2005-12-12 15:39:41 +00:00
Jens Granseuer
3bb09e2a1a Fixes #321778
2005-11-21  Jens Granseuer <jensgr@gmx.net>

	Fixes #321778

	* gnome-settings-daemon/gnome-settings-keyboard.c
	(numlock_set_xkb_state, numlock_get_gconf_state): C89 compilation
	fixes.
2005-11-21 12:08:18 +00:00
Sebastien Bacher
7c58173e7f define "Gtk/ShowInputMethodMenu"/"Gtk/ShowUnicodeMenu" xsettings, patch by
2005-11-14  Sebastien Bacher  <seb128@debian.org>

	* gnome-settings-xsettings.c:
	define "Gtk/ShowInputMethodMenu"/"Gtk/ShowUnicodeMenu" xsettings,
	patch by Matthias Clasen (Closes: #319634).
2005-11-14 22:31:17 +00:00
Kjartan Maraas
564a9d03aa Huge cleanup. Individual ChangeLogs have info. Closing bug #320157. ANSIfy
2005-11-14  Kjartan Maraas  <kmaraas@gnome.org>

	* */*: Huge cleanup. Individual ChangeLogs have info.
	Closing bug #320157.
	* libkbddraw/keyboard-drawing.h: ANSIfy some function declarations.
2005-11-14 15:18:09 +00:00
Ray Strode
9e4c915469 Remap buttons on auxillary mice for left-handed mode (bug 314409).
2005-10-21  Ray Strode  <rstrode@redhat.com>

	Remap buttons on auxillary mice for left-handed
	mode (bug 314409).

	* configure.in: add check for xinput extension

	* gnome-settings-daemon/gnome-settings-mouse.c
	(supports_xinput_devices): new
	function to detect XInput Extension
	(configure_button_layout): new function to set up
	logical mouse button layout for left or right handed
	mode
	(xinput_device_has_buttons): new function to detect if
	an xinput device has buttons to reconfigure
	(set_xinput_devices_left_handed): new function to set
	auxillary mice into left-handed mode
	(set_left_handed): call set_xinput_devices_left_handed
	if available
2005-10-21 22:18:53 +00:00
Rodrigo Moya
845d328106 2005-10-18 Rodrigo Moya <rodrigo@novell.com><>
* gnome-settings-font.c (load_xcursor_theme):
	* gnome-settings-xsettings.c (gnome_xft_settings_set_xsettings):
	run xrdb with -nocpp, since it's not needed here.
2005-10-18 14:25:26 +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
Rodrigo Moya
259294fb02 added this function to watch for children...
2005-10-14  Rodrigo Moya <rodrigo@novell.com>

	* gnome-settings-daemon.c (child_watch_cb): added this function to
	watch for children...
	(gnome_settings_daemon_spawn_with_input): ...started here, instead
	of just blocking.

	* gnome-settings-screensaver.c (gnome_settings_screensaver_load): do
	lazy loading of the screensaver.
	(really_start_screensaver): start on a 25 seconds timeout.

	* gnome-settings-typing-break.c (gnome_settings_typing_break_load): do
	lazy loading og the typing break applet.
	(really_setup_typing_break): start on a 30 seconds timeout.

2005-10-14  Erwann Chenede <erwann.chenede@sun.com>

	Fixes #314774

	* gnome-settings-xrdb.c (gnome_settings_xrdb_load): connect to
	"notify:gtk-theme-name" signal, to run xrdb only when the whole theme
	has been changed.
	(theme_changed): callback for "notify:gtk-theme-name".
2005-10-15 21:56:43 +00:00
Jürg Billeter
356e767473 reviewed by: Sergey V. Udaltsov <svu@gnome.org>
2005-10-10  Jürg Billeter  <j@bitron.ch>

	reviewed by: Sergey V. Udaltsov  <svu@gnome.org>

	* gnome-settings-keyboard.c: (gsd_keyboard_get_hostname_key),
	(numlock_NumLock_modifier_mask), (numlock_set_xkb_state),
	(numlock_gconf_state_key), (numlock_get_gconf_state),
	(numlock_set_gconf_state), (numlock_xkb_callback),
	(numlock_install_xkb_callback), (apply_settings),
	(gnome_settings_keyboard_init): Remember NumLock state between sessions.
	Fixes bug #74215. Patch by Sebastian Kapfer  <sebastian_kapfer@web.de>
2005-10-10 19:32:45 +00:00
Kjartan Maraas
068c86e89c Don't leak the cursor theme name. Closes bug #314692.
2005-09-16  Kjartan Maraas  <kmaraas@gnome.org>

	* gnome-settings-font.c: (load_xcursor_theme): Don't leak
	the cursor theme name. Closes bug #314692.
2005-09-16 17:25:15 +00:00
Ray Strode
0d86f01422 previous patch breaks the build, just revert for now, bug 316142.
2005-09-14 Ray Strode  <rstrode@redhat.com>

	* gnome-settings-daemon/gnome-settings-mouse.c: previous
	patch breaks the build, just revert for now, bug 316142.
2005-09-14 14:16:37 +00:00
Ray Strode
ac2dad4891 Remap buttons on auxillary mice for left-handed mode (bug 314409).
2005-09-12  Ray Strode  <rstrode@redhat.com>

	Remap buttons on auxillary mice for left-handed
	mode (bug 314409).

	* configure.in: add check for xinput extension, needed
	for bug 314409.

	* gnome-settings-daemon/gnome-settings-mouse.c
	(supports_xinput_devices): new function to detect
	XInput Extension
	(configure_button_layout): new function to set up
	logical mouse button layout for left or right handed
	mode
	(xinput_device_has_buttons): new function to detect if
	an xinput device has buttons to reconfigure
	(set_xinput_devices_left_handed): new function to set
	auxillary mice into left-handed mode
	(set_left_handed): call set_xinput_devices_left_handed
	if available
2005-09-12 17:20:22 +00:00
Sebastien Bacher
7b57ffb538 fix the build without gstreamer and with alsa, patch by Paul Drain
2005-08-03  Sebastien Bacher  <seb128@debian.org>

        * actions/Makefile.am: fix the build without gstreamer and with alsa,
        patch by Paul Drain <pd@cipherfunk.org> (Closes: #307368).
2005-08-03 16:38:27 +00:00