2007-06-22 Rodrigo Moya <rodrigo@gnome-db.org>
* gnome-settings-daemon.c: incorporate fixes from Matthias Clasen in
bug #430889
(gnome_settings_daemon_init): create the DBus server here.
(gnome_settings_daemon_new): install an idle callback to initialize the
modules.
(init_modules_idle_cb): initialize modules and install an idle callback
to start the modules.
(start_modules_idle_cb): start modules here.
(finalize): unref the DBus service.
svn path=/trunk/; revision=7757
2007-06-21 Rodrigo Moya <rodrigo@gnome-db.org>
* gnome-settings-accessibility-keyboard.c:
* gnome-settings-keybindings.c:
* gnome-settings-keyboard.c:
* gnome-settings-multimedia-keys.c:
* gnome-settings-xrdb.c:
* gnome-settings-daemon.c: all modules use now the new arch.
* gnome-settings-background.c (background_callback): pass the correct
argument to the idle callback.
svn path=/trunk/; revision=7756
2007-06-19 Rodrigo Moya <rodrigo@gnome-db.org>
* gnome-settings-module.c (gnome_settings_module_start|_stop): return
TRUE if the module does not implement the method. It's not an error,
just the module does not need to implement it.
* gnome-settings-daemon.c (gnome_settings_daemon_init): allocate memory
for the index in the hash table.
svn path=/trunk/; revision=7753
2007-06-11 Bastien Nocera <hadess@hadess.net>
* gnome-settings-multimedia-keys.c: (do_action): Force launching
nautilus in the home directory, rather than relying on it
opening there (Closes: #356069)
svn path=/trunk/; revision=7716
2007-06-06 Rodrigo Moya <rodrigo@gnome-db.org>
* gnome-settings-default-editor.c:
* gnome-settings-gtk1theme.c:
* gnome-settings-mouse.c:
* gnome-settings-sound.c:
* gnome-settings-xsettings.c: converted more modules to the new arch.
* gnome-settings-daemon.c (gnome_settings_daemon_new): now this is much
cleaner.
svn path=/trunk/; revision=7697
2007-05-28 Jan Arne Petersen <jpetersen@jpetersen.org>
* actions/acme-volume-gstreamer.c: (acme_volume_gstreamer_open): set
the device property to the correct value before opening the mixer.
(closes bug #441552)
svn path=/trunk/; revision=7668
2007-05-17 Jens Granseuer <jensgr@gmx.net>
Patch by: Chad Miller
* gnome-settings-dbus.c: (gnome_settings_server_init): double-check
that DBUS really passed us an error (closes bug #439208)
svn path=/trunk/; revision=7632
2007-05-09 Rodrigo Moya <rodrigo@gnome-db.org>
* gnome-settings-background.c (gnome_settings_module_background_init,
gnome_settings_module_background_start): no need to keep the GConfClient
around, it is already stored in the GnomeSettingsModule class.
svn path=/trunk/; revision=7585
2007-05-09 Rodrigo Moya <rodrigo@gnome-db.org>
* gnome-settings-background.c: removed G_BEGIN|END_DECLS.
(gnome_settings_module_background_get_type): register with correct type.
(gnome_settings_module_background_initialize): store the GConfClient we get.
(gnome_settings_module_background_start): use the stored GConfClient.
* gnome-settings-background.h: removed unneeded file.
* gnome-settins-clipboard.c: new file to implement the clipboard manager as
a loadable module. Replaces clipboard-manager.[ch].
* gnome-settings-daemon.c: removed old clipboard manager and use the new
module-based one.
* Makefile.am: added/removed sources.
svn path=/trunk/; revision=7584
2007-05-08 Rodrigo Moya <rodrigo@gnome-db.org>
* gnome-settings-background.c: changed to use the new GnomeSettingsModule
class for loadable modules.
* gnome-settings-daemon.c (initialize_modules, start_modules,
stop_modules): new functions to call modules's methods.
(gnome_settings_daemon_init): get all module types and create objects
from each of them.
(gnome_settings_daemon_new): added code to call loadable modules's
methods where appropriate.
svn path=/trunk/; revision=7580
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-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-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-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 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-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-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-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-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-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-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-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-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 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-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-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-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 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