Commit graph

337 commits

Author SHA1 Message Date
Rodrigo Moya
c246e6aa6c new method.
2007-04-23  Rodrigo Moya <rodrigo@gnome-db.org>

	* gnome-settings-module.[ch] (gnome_settings_module_get_runlevel):
	new method.

svn path=/trunk/; revision=7485
2007-04-23 16:26:37 +00:00
Rodrigo Moya
6535f4364e new class for modules.
2007-04-20  Rodrigo Moya <rodrigo@gnome-db.org>

	* gnome-settings-module.[ch]: new class for modules.

	* Makefile.am: added new files.

svn path=/trunk/; revision=7478
2007-04-20 08:35:45 +00:00
Ross Burton
8e4d835261 Remove all settings that are not related to colour (#428615).
2007-04-11  Ross Burton  <ross@burtonini.com>

	* xrdb/General.ad:
	* xrdb/Motif.ad:
	* xrdb/Editres.ad:
	* xrdb/Xaw.ad:
	* xrdb/Emacs.ad:
	Remove all settings that are not related to colour (#428615).

svn path=/trunk/; revision=7462
2007-04-11 19:02:18 +00:00
Alexander Larsson
d8426a9677 Also check registered directories for notification. Fixes theme e.g.
2007-04-10  Alexander Larsson <alexl@redhat.com>

	* utils.c (config_notify):
	Also check registered directories for notification.
	Fixes theme e.g. switching.


svn path=/trunk/; revision=7456
2007-04-10 11:50:49 +00:00
Rodrigo Moya
fbfb49fd95 Added missing files
svn path=/trunk/; revision=7436
2007-04-02 15:30:30 +00:00
Rodrigo Moya
53bb60e945 return NULL when there is an error, not exit(), so that we do proper
2007-04-02  Rodrigo Moya <rodrigo@gnome-db.org>

	* gnome-settings-daemon.c (gnome_settings_daemon_new): return NULL
	when there is an error, not exit(), so that we do proper cleanup.
	Remove code to register GConf callbacks, that is done in utils.c.
	(gnome_settings_daemon_get_conf_client,
	 gnome_settings_daemon_register_callback,
	 gnome_settings_daemon_spawn_with_input,
	 gnome_settings_daemon_get_invisible,
	 gnome_settings_daemon_delayed_show_dialog): removed from the
	GnomeSettingsDaemon interface.

	* utils.c (gnome_settings_get_config_client,
	 gnome_settings_get_invisible,
	 gnome_settings_register_config_callback,
	 gnome_settings_spawn_with_input,
	 gnome_settings_delayed_show_dialog): moved from GnomeSettingsDaemon
	interface.

	* factory.c (main): check return value from gnome_settings_daemon().

	* *.c: adapted to changes in function names.

	* Makefile.am: put source files in alphabetical order.

svn path=/trunk/; revision=7435
2007-04-02 15:29:28 +00:00
Rodrigo Moya
e16cbd24dc return NULL when there is an error, not exit(), so that we do proper
2007-04-02  Rodrigo Moya <rodrigo@gnome-db.org>

	* gnome-settings-daemon.c (gnome_settings_daemon_new): return NULL
	when there is an error, not exit(), so that we do proper cleanup.
	Remove code to register GConf callbacks, that is done in utils.c.
	(gnome_settings_daemon_get_conf_client,
	gnome_settings_daemon_register_callback,
	 gnome_settings_daemon_spawn_with_input,
	 gnome_settings_daemon_get_invisible,
	 gnome_settings_daemon_delayed_show_dialog): removed from the
	GnomeSettingsDaemon interface.

	* utils.c (gnome_settings_get_config_client,
	 gnome_settings_get_invisible,
	 gnome_settings_register_config_callback,
	 gnome_settings_spawn_with_input,
	 gnome_settings_delayed_show_dialog): moved from GnomeSettingsDaemon
	interface.

	* factory.c (main): check return value from gnome_settings_daemon().

	* *.c: adapted to changes in function names.

	* Makefile.am: put source files in alphabetical order.

svn path=/trunk/; revision=7434
2007-04-02 15:27:35 +00:00
Priit Laes
5895ee2be5 Fix launch application in terminal support. (closes bug #362578).
2007-03-29  Priit Laes  <amd@store20.com>

	* gnome-settings-multimedia-keys.c: (get_term_command), (execute),
	(do_unknown_action), (do_help_action), (do_mail_action),
	(do_media_action), (do_www_action), (do_exit_action), (do_eject_action),
	(do_action): Fix launch application in terminal support. (closes bug
	#362578).

svn path=/trunk/; revision=7429
2007-03-29 18:47:28 +00:00
Jens Granseuer
77a88ffbfe rebuild the media window if the state of composite has changed (fixes bug
2007-03-26  Jens Granseuer  <jensgr@gmx.net>

	* gnome-settings-multimedia-keys.c: (dialog_init):
	* gsd-media-keys-window.c: (gsd_media_keys_window_is_valid),
	(initialize_alpha_mode):
	* gsd-media-keys-window.h: rebuild the media window if the state of
	composite has changed (fixes bug #408035)

svn path=/trunk/; revision=7425
2007-03-26 19:01:50 +00:00
Jens Granseuer
32b1374a8b don't set Emacs.mode-line.attributeBackground as it seems to cause
2007-03-24  Jens Granseuer  <jensgr@gmx.net>

	* xrdb/Emacs.ad: don't set Emacs.mode-line.attributeBackground as it
	seems to cause problems with emacs 22 (closes bug #416823)

svn path=/trunk/; revision=7422
2007-03-24 15:23:40 +00:00
Jens Granseuer
044eb80355 don't crash if dbus connection is not available (part of bug #411504)
2007-03-22  Jens Granseuer  <jensgr@gmx.net>

	* gnome-settings-dbus.c: (gnome_settings_server_init): don't crash if
	dbus connection is not available (part of bug #411504)

svn path=/trunk/; revision=7415
2007-03-22 19:07:34 +00:00
Federico Mena Quintero
30c1207620 Fix the gnome-settings-daemon part of
2007-03-21  Federico Mena Quintero  <federico@novell.com>

	Fix the gnome-settings-daemon part of
	https://bugzilla.novell.com/show_bug.cgi?id=217790 and
	http://bugzilla.gnome.org/show_bug.cgi?id=378338:  try to figure
	out the DPI value from the X server or the user's GConf settings.

	Should also fix https://bugzilla.novell.com/show_bug.cgi?id=240246.

	* gnome-settings-daemon/gnome-settings-xsettings.c (gnome_xft_settings_get): Call
	get_dpi_from_gconf_or_server() to figure out a reasonable DPI
	value; don't unconditionally get it from GConf.
	(get_dpi_from_gconf_or_server): New function.  If the user has
	ever set the /desktop/gnome/font_rendering/dpi value in GConf, we
	use its value.  Otherwise, we ask the X server.  We constrain the
	X server's response to a range of reasonable DPI values, since
	some servers lie about the screen's phisical dimensions --- the
	user would get unusably huge or tiny fonts otherwise.

	* capplets/font/main.c (dpi_load): First, see if the DPI value is actually set
	in GConf.  If it is, it means that the user has changed it at
	least once.  In that case, just use the value.  Otherwise, find
	the value from the X server in a similar way to what we do in
	gnome-settings-daemon.

svn path=/trunk/; revision=7409
2007-03-21 17:05:06 +00:00
Priit Laes
a0427192af Added handler for media keybinding. Add defines for media key.
2007-03-20  Priit Laes  <plaes@svn.gnome.org>

	* gnome-settings-multimedia-keys.c: (do_media_action), (do_action): Added
	handler for media keybinding.
	* actions/acme.h: Add defines for media key.

	Introduces preferred media application support. Bug #362578.

svn path=/trunk/; revision=7404
2007-03-20 19:01:26 +00:00
Jens Granseuer
711d022d03 fix multimedia window appearing in a different position when shown for the
2007-03-18  Jens Granseuer  <jensgr@gmx.net>

	* gnome-settings-multimedia-keys.c: (dialog_show): fix multimedia
	window appearing in a different position when shown for the first time
	and thus causing a "jump" effect on the second (fixes bug #400915)

svn path=/trunk/; revision=7387
2007-03-18 13:53:58 +00:00
Jens Granseuer
a4f80edf07 ref the master track (fixes bug #412467)
2007-02-28  Jens Granseuer  <jensgr@gmx.net>

	* actions/acme-volume-gstreamer.c: (acme_volume_gstreamer_open): ref
	the master track (fixes bug #412467)

svn path=/trunk/; revision=7346
2007-02-28 17:08:55 +00:00
Jens Granseuer
2ae3f6669e fix compiler warning
2007-02-25  Jens Granseuer  <jensgr@gmx.net>

	* test-media-window.c: (test_window): fix compiler warning

svn path=/trunk/; revision=7332
2007-02-25 10:00:59 +00:00
Jens Granseuer
2ea899f11e correctly pass the function address when setting up the event filter
2007-02-23  Jens Granseuer  <jensgr@gmx.net>

	* gnome-settings-accessibility-keyboard.c:
	(gnome_settings_accessibility_keyboard_load): correctly pass the
	function address when setting up the event filter

svn path=/trunk/; revision=7328
2007-02-23 22:52:53 +00:00
Jens Granseuer
ec87da8b18 don't install the same filter twice for the default root window (fixes bug
2007-02-16  Jens Granseuer  <jensgr@gmx.net>

	* gnome-settings-keybindings.c: (gnome_settings_keybindings_init):
	don't install the same filter twice for the default root window (fixes
	bug #408643)

svn path=/trunk/; revision=7304
2007-02-16 17:42:27 +00:00
Jens Granseuer
be5dce4b64 if X refuses to update the pointer mapping (busy) don't just ignore the
2007-02-14  Jens Granseuer  <jensgr@gmx.net>

	* gnome-settings-mouse.c: (configure_button_layout),
	(set_left_handed): if X refuses to update the pointer mapping (busy)
	don't just ignore the error but retry after a short delay (fixes bug
	#349538)

svn path=/trunk/; revision=7295
2007-02-14 17:32:48 +00:00
Jens Granseuer
ebb2630851 properly round volumess so that volume-up and volume-down act
2007-02-14  Jens Granseuer  <jensgr@gmx.net>

	* actions/acme-volume-gstreamer.c:
	(acme_volume_gstreamer_set_mute),
	(acme_volume_gstreamer_get_volume),
	(acme_volume_gstreamer_set_volume): properly round volumess so that
	volume-up and volume-down act symmetrically, ie. lowering and raising
	volume will end up at the original level (fixes bug #389996)

svn path=/trunk/; revision=7294
2007-02-14 17:17:59 +00:00
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
Christian Persch
43d40d7a0a Don't define directories in configure. Remove some obsolete defines, and
2007-02-02  Christian Persch  <chpe@svn.gnome.org>

	* Makefile.am:
	* capplets/about-me/Makefile.am:
	* capplets/about-me/gnome-about-me-password.c: (passdlg_init):
	* capplets/about-me/gnome-about-me.c: (about_me_setup_dialog):
	* capplets/accessibility/at-properties/Makefile.am:
	* capplets/accessibility/keyboard/Makefile.am:
	* capplets/accessibility/keyboard/accessibility-keyboard.c:
	(setup_accessX_dialog):
	* capplets/background/Makefile.am:
	* capplets/background/gnome-wp-capplet.c: (gnome_wp_create_dialog):
	* capplets/common/Makefile.am:
	* capplets/common/capplet-util.c: (capplet_set_icon):
	* capplets/default-applications/Makefile.am:
	* capplets/display/Makefile.am:
	* capplets/file-types/Makefile.am:
	* capplets/file-types/file-types-capplet.c: (create_dialog):
	* capplets/file-types/mime-category-edit-dialog.c:
	(mime_category_edit_dialog_init):
	* capplets/file-types/mime-edit-dialog.c: (mime_edit_dialog_init):
	* capplets/file-types/service-edit-dialog.c:
	(service_edit_dialog_init):
	* capplets/font/Makefile.am:
	* capplets/keybindings/Makefile.am:
	* capplets/keybindings/gnome-keybinding-properties.c:
	(create_dialog):
	* capplets/keyboard/Makefile.am:
	* capplets/keyboard/gnome-keyboard-properties-xkblt.c:
	(xkb_layout_choose):
	* capplets/keyboard/gnome-keyboard-properties-xkbmc.c:
	(choose_model):
	* capplets/keyboard/gnome-keyboard-properties.c: (create_dialog):
	* capplets/localization/Makefile.am:
	* capplets/localization/gnome-localization-properties.c:
	(create_dialog):
	* capplets/mime-type/Makefile.am:
	* capplets/mouse/Makefile.am:
	* capplets/mouse/gnome-mouse-properties.c: (create_dialog):
	* capplets/network/Makefile.am:
	* capplets/network/gnome-network-preferences.c:
	(cb_http_details_button_clicked), (main):
	* capplets/rollback/Makefile.am:
	* capplets/sound/Makefile.am:
	* capplets/sound/sound-properties-capplet.c: (create_dialog),
	(device_test_button_clicked):
	* capplets/theme-switcher/Makefile.am:
	* capplets/ui-properties/Makefile.am:
	* capplets/ui-properties/gnome-ui-properties.c: (create_dialog):
	* capplets/url-properties/Makefile.am:
	* capplets/windows/Makefile.am:
	* capplets/wm-properties/wm-desktops/Makefile.am:
	* configure.in:
	* gnome-settings-daemon/Makefile.am:
	* gnome-settings-daemon/actions/Makefile.am:
	* gnome-settings-daemon/gnome-settings-xmodmap.c:
	(gnome_settings_modmap_dialog_call):
	* gnome-settings-daemon/gnome-settings-xrdb.c:
	* gnome-settings-daemon/gsd-media-keys-window.c: (action_changed),
	(gsd_media_keys_window_init):
	* gnome-settings-daemon/xrdb/Makefile.am:
	* typing-break/Makefile.am:
	* vfs-methods/themus/Makefile.am: Don't define directories in
	configure. Remove some obsolete defines, and use the standard
	installation paths. Bug #395383.

svn path=/trunk/; revision=7226
2007-02-02 18:12:40 +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
Christian Persch
12205181f7 Don't define dbus services
2007-01-31  Christian Persch  <chpe@svn.gnome.org>

	* configure.in:
	* gnome-settings-daemon/Makefile.am: Don't define dbus services

svn path=/trunk/; revision=7221
2007-01-31 22:46:48 +00:00
Christian Persch
c19d6d800d Fix localedir defines. Bug #395383.
2007-01-31  Christian Persch  <chpe@svn.gnome.org>

	* capplets/accessibility/at-properties/Makefile.am:
	* capplets/accessibility/keyboard/Makefile.am:
	* capplets/background/Makefile.am:
	* capplets/common/Makefile.am:
	* capplets/default-applications/Makefile.am:
	* capplets/display/Makefile.am:
	* capplets/font/Makefile.am:
	* capplets/keybindings/Makefile.am:
	* capplets/keyboard/Makefile.am:
	* capplets/mouse/Makefile.am:
	* capplets/network/Makefile.am:
	* capplets/theme-switcher/Makefile.am:
	* capplets/ui-properties/Makefile.am:
	* capplets/windows/Makefile.am:
	* configure.in:
	* gnome-settings-daemon/Makefile.am:
	* libbackground/Makefile.am:
	* libwindow-settings/Makefile.am:
	* typing-break/Makefile.am:
	* vfs-methods/fontilus/Makefile.am:
	* vfs-methods/themus/Makefile.am: Fix localedir defines. Bug #395383.

svn path=/trunk/; revision=7219
2007-01-31 21:09:43 +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
Christian Persch
64df6d6315 Update svn:ignore and remove .cvsignore files
svn path=/trunk/; revision=7040
2007-01-03 13:38:23 +00:00
William Jon McCann
e7ba3dd216 Add a new media keys window that takes advantage of compositing when
2006-12-07  William Jon McCann  <mccann@jhu.edu>

	* gnome-settings-daemon/Makefile.am:
	* gnome-settings-daemon/actions/Makefile.am:
	* gnome-settings-daemon/actions/acme.glade:
	* gnome-settings-daemon/actions/gnome-speakernotes-muted.png:
	* gnome-settings-daemon/actions/gnome-speakernotes.png:
	* gnome-settings-daemon/gnome-settings-multimedia-keys.c:
	(execute), (dialog_init), (unhookup_keysym), (update_kbd_cb),
	(init_kbd), (dialog_show), (do_eject_action), (do_sound_action),
	(gnome_settings_multimedia_keys_load):
	* gnome-settings-daemon/gsd-media-keys-window.c: (hide_timeout),
	(remove_hide_timeout), (add_hide_timeout), (update_window),
	(volume_controls_set_visible), (window_set_icon_name),
	(window_set_icon_file), (action_changed), (volume_level_changed),
	(volume_muted_changed), (gsd_media_keys_window_set_action),
	(gsd_media_keys_window_set_volume_muted),
	(gsd_media_keys_window_set_volume_level), (curved_rectangle),
	(draw_action_eject), (draw_waves), (draw_speaker),
	(draw_volume_boxes), (draw_action_volume), (draw_action),
	(on_expose_event), (gsd_media_keys_window_real_show),
	(gsd_media_keys_window_real_hide),
	(gsd_media_keys_window_class_init), (initialize_alpha_mode),
	(gsd_media_keys_window_init), (gsd_media_keys_window_finalize),
	(gsd_media_keys_window_new):
	* gnome-settings-daemon/gsd-media-keys-window.h:
	Add a new media keys window that takes advantage of
	compositing when available.  Fixes #383066
2006-12-07 17:54:56 +00:00
Sergey V. Udaltsov
ada87a95f2 Changing library dependency from virtual libgswitchit/libkbdraw to normal libgnomekbd 2006-10-18 22:37:40 +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