Commit graph

251 commits

Author SHA1 Message Date
Jens Granseuer
da4b6a8507 if the new font path could not be set, revert to the old path (fixes bug
2007-02-10  Jens Granseuer  <jensgr@gmx.net>

	* gnome-settings-font.c: (load_cursor): if the new font path could not
	be set, revert to the old path (fixes bug #397504)

svn path=/trunk/; revision=7277
2007-02-10 16:11:51 +00:00
Jens Granseuer
c3b4008673 Based on a patch by: Bastien Nocera <hadess@hadess.net>
2007-02-09  Jens Granseuer  <jensgr@gmx.net>

	Based on a patch by: Bastien Nocera <hadess@hadess.net>

	* gnome-settings-dbus.c:
	(gnome_settings_server_media_player_key_pressed):
	* gnome-settings-dbus.h:
	* gnome-settings-multimedia-keys.c: (do_multimedia_player_action),
	(do_action), (acme_filter_events): eat media player keys if someone is
	listening on the dbus interface already (fixes bug #394313)

svn path=/trunk/; revision=7271
2007-02-09 16:59:35 +00:00
William Jon McCann
2f7a6dd301 Use #define for the alpha levels.
2007-02-05  William Jon McCann  <mccann@jhu.edu>

	* gsd-media-keys-window.c: (render_eject), (draw_eject),
	(draw_waves), (draw_speaker), (render_speaker),
	(draw_volume_boxes), (on_expose_event):
	Use #define for the alpha levels.


svn path=/trunk/; revision=7249
2007-02-05 20:10:16 +00:00
William Jon McCann
c54b651b76 Make the new volume overlay window follow the icon and color themes. Add
2007-02-05  William Jon McCann  <mccann@jhu.edu>

	* Makefile.am:
	* gsd-media-keys-window.c: (load_pixbuf), (render_eject),
	(draw_eject), (draw_action_eject), (draw_waves), (draw_speaker),
	(render_speaker), (draw_volume_boxes), (draw_action_volume),
	(on_expose_event):
	* test-media-window.c: (update_state), (test_window), (main):
	Make the new volume overlay window follow the
	icon and color themes.  Add an unstalled test app. Fixes #403320


svn path=/trunk/; revision=7246
2007-02-05 05:25:27 +00:00
Jens Granseuer
a02dd61e0b Patch by: Paolo Borelli <pborelli@katamail.com>
2007-02-03  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Paolo Borelli <pborelli@katamail.com>

	* gnome-settings-keybindings.c: (get_screens_list),
	(screen_exec_display_string), (entry_get_string),
	(bindings_get_entry), (gnome_settings_keybindings_load): plug some
	memory leaks (fixes bug #342672)

svn path=/trunk/; revision=7238
2007-02-03 14:20:19 +00:00
Jens Granseuer
39ed90d6f3 round volume instead of truncating on unmute so a simple mute/unmute
2007-02-02  Jens Granseuer  <jensgr@gmx.net>

	* actions/acme-volume-gstreamer.c:
	(acme_volume_gstreamer_set_mute): round volume instead of
	truncating on unmute so a simple mute/unmute doesn't lower the
	volume (fixes bug #400966)

svn path=/trunk/; revision=7223
2007-02-01 22:53:22 +00:00
Jens Granseuer
413ec80cd2 don't leak the GnomeProgram reference
2007-01-31  Jens Granseuer  <jensgr@gmx.net>

	* factory.c: (main): don't leak the GnomeProgram reference

svn path=/trunk/; revision=7218
2007-01-31 19:08:51 +00:00
Jens Granseuer
28de04be2a make sure we have a key event before treating it as such (fixes bug
2007-01-31  Jens Granseuer  <jensgr@gmx.net>

	* gnome-settings-multimedia-keys.c: (acme_filter_events): make sure
	we have a key event before treating it as such (fixes bug #382503)

svn path=/trunk/; revision=7214
2007-01-31 17:31:43 +00:00
Jens Granseuer
204dd9a088 don't install the same filter twice; we already install it for all
2007-01-31  Jens Granseuer  <jensgr@gmx.net>

	* gnome-settings-keyboard-xkb.c:
	(gnome_settings_keyboard_xkb_init): don't install the same filter
	twice; we already install it for all windows, so we don't need
	another one for the root window (fixes bug #382504)

svn path=/trunk/; revision=7213
2007-01-31 17:24:16 +00:00
Jens Granseuer
d6ba28d56d property is called "focus-on-map", not "set-focus-on-map"
2007-01-30  Jens Granseuer  <jensgr@gmx.net>
                                          
        * gsd-media-keys-window.c: (gsd_media_keys_window_new): property
        is called "focus-on-map", not "set-focus-on-map"

svn path=/trunk/; revision=7209
2007-01-30 20:54:46 +00:00
Jens Granseuer
5332e54d66 initialize 'vol' variable to prevent crashes/assertion failures trying to
2007-01-30  Jens Granseuer  <jensgr@gmx.net>
                                           
        * actions/acme-volume-gstreamer.c: (update_state): initialize 'vol'
        variable to prevent crashes/assertion failures trying to set
        ridiculously high/low volume (fixes bug #401376)

svn path=/trunk/; revision=7207
2007-01-30 17:26:39 +00:00
Kjartan Maraas
141461d3e5 Sparse warning fixes: - Mark some stuff static - ANSIfication of function
2007-01-29  Kjartan Maraas  <kmaraas@gnome.org>

	* gnome-settings-background.c:
	* gnome-settings-background.h:
	* gnome-settings-dbus.c:
	* gnome-settings-font.c:
	* gnome-settings-font.h:
	* gnome-settings-keyboard.c: (numlock_NumLock_modifier_mask),
	(numlock_gconf_state_key), (numlock_get_gconf_state),
	(numlock_install_xkb_callback):
	* gnome-settings-mouse.c:
	* gnome-settings-mouse.h:
	* gnome-settings-xmodmap.c: (gnome_settings_load_modmap_files):
	Sparse warning fixes:
	- Mark some stuff static
	- ANSIfication of function declarations
	- Some other bits.

svn path=/trunk/; revision=7200
2007-01-29 09:22:55 +00:00
Thomas Wood
ff60ab1575 Patch by: Jens Granseuer <jensgr@gmx.net>
2007-01-14  Thomas Wood  <thos@gnome.org>

	Patch by: Jens Granseuer  <jensgr@gmx.net>

	* gnome-settings-accessibility-keyboard.c: Remove has_filter variable
	that was never initialised. Fixes bug 382502.

svn path=/trunk/; revision=7137
2007-01-14 19:34:27 +00:00
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