Commit graph

28 commits

Author SHA1 Message Date
Mark McLoughlin
a43af53a3f Create a XSettingsManager for every available screen and apply settings
2002-11-08  Mark McLoughlin  <mark@skynet.ie>

        Create a XSettingsManager for every available
        screen and apply settings changes to each.

        * gnome-settings-daemon.c:
        (manager_event_filter): make this a per-window filter
        and ask the appropriate xsettings manager to filter
        the event.
        (finalize): dispose of every manager.
        (gnome_settings_daemon_new): create a settings manager
        for each screen.

        * gnome-settings-xsettings.c:
        (translate_bool_int), (translate_int_int),
        (translate_string_string), (process_value),
        (xsettings_callback), (xft_callback),
        (gnome_xft_settings_set_xsettings),
        (gnome_settings_xsettings_load): apply settings to
        every available settings manager.
2002-11-08 03:26:33 +00:00
Havoc Pennington
692b9dde4f adapt to gnome-wm-manager API changes
2002-10-26  Havoc Pennington  <hp@pobox.com>

	* theme-switcher.c (window_read_themes): adapt to gnome-wm-manager
	API changes

2002-10-26  Havoc Pennington  <hp@pobox.com>

	* gnome-window-manager.c: handle NULL fields in the class struct;
	and replace the individual setters with get/set for a big
	struct with flags indicating which fields we care about,
	a la a graphics context. Add settings_changed signal.
	(gnome_window_manager_get_type): change object name to
	GnomeWindowManager not GWindowManager

	* gnome-window-manager.h (struct _GnomeWindowManagerClass): add
	padding to the class struct

	* Makefile.am: move metacity module here from capplets/windows/
	(libgnome_window_settings_la_SOURCES): don't build the code to
	switch window managers, it was bitrotted and broken anyway, and
	isn't in the UI right now. Keep the code in EXTRA_DIST in case
	someone wants to recover it. Move some relevant bits to
	gnome-wm-manager.c

2002-10-26  Havoc Pennington  <hp@pobox.com>

	* gnome-window-properties.c: rewrite

	* Makefile.am (bin_PROGRAMS): remove metacity module, move to
	libwindow-settings
	(gnome_window_properties_LDADD): properly link to .la file for
	libgnome-window-settings, not the installed copy
2002-10-29 06:19:52 +00:00
Jody Goldberg
b5ef65002e new file from owen to manage gtk1 themes.
2002-08-19  Jody Goldberg <jody@gnome.org>

	* gnome-settings-daemon/gnome-settings-gtk1theme.c : new
	  file from owen to manage gtk1 themes.
2002-08-19 19:14:21 +00:00
Jonathan Blandford
3b070f76d1 Add gnome-settings-keybinding initialize keybindings support Patch to add
Wed May 29 20:23:13 2002  Jonathan Blandford  <jrb@redhat.com>

        * Makefile.am: Add gnome-settings-keybinding
        * gnome-settings-daemon.c: (gnome_settings_daemon_new): initialize
        keybindings support
        * gnome-settings-keybindings.[ch]: Patch to add support for custom
        keybindings.  Thanks to Erwann Chenede <Erwann.Chenede@sun.com>
        for the patch.
2002-05-30 00:25:29 +00:00
jacob berkman
6852ac0eb3 run the mkfontdir command synchronously to avoid a possible race. extra
2002-05-22  jacob berkman  <jacob@ximian.com>

	* gnome-settings-font.c (load_cursor): run the mkfontdir command
	synchronously to avoid a possible race.  extra precaution for
	#78023

	* gnome-settings-daemon.c (gnome_settings_daemon_new): run
	background settings after everything else, as some of those spawn
	processes (xscreensaver) and background settings nices itself

	should fix #78742
2002-05-22 20:58:14 +00:00
jacob berkman
58aa365845 keep text/plain and text* using the same mime type (#78037)
2002-05-16  jacob berkman  <jacob@ximian.com>

	* Makefile.am:
	* gnome-settings-default-editor.[ch]: keep text/plain and text*
	using the same mime type (#78037)

	* gnome-settings-daemon.c (gnome_settings_daemon_new): load editor
	and keyboard settings (bugs #78037 and #78016)
2002-05-16 23:09:02 +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
Jonathan Blandford
6f1fa592ec Change gnome2-* to gnome-* ditto ditto ditto ditto ditto ditto ditto ditto
Tue Apr  9 11:43:08 2002  Jonathan Blandford  <jrb@gnome.org>

	* capplets/accessibility/keyboard/Makefile.am: Change gnome2-* to
	gnome-*
	* capplets/default-applications/Makefile.am: ditto
	* capplets/file-types/Makefile.am: ditto
	* capplets/font/Makefile.am: ditto
	* capplets/keyboard/Makefile.am: ditto
	* capplets/mouse/Makefile.am: ditto
	* capplets/sound/Makefile.am: ditto
	* capplets/theme-switcher/Makefile.am: ditto
	* capplets/ui-properties/Makefile.am: ditto
	* control-center/Makefile.am: ditto
	* gnome-settings-daemon/Makefile.am: ditto

	* gnome-keybinding-properties.c (setup_dialog): man, was this code
	silly.  Also, themes are case sensitive.
	(is_metacity_running): Add support for metacity keybindings.  This
	is off by default until I write code to actually detect metacity.

Tue Apr  9 11:58:10 2002  Jonathan Blandford  <jrb@gnome.org>

	* Makefile.am: Add commented out disk support until I finish the code.
2002-04-10 06:08:08 +00:00
Jonathan Blandford
653e2d9127 somehow the font settings were removed. Re add.
Thu Mar 28 09:18:40 2002  Jonathan Blandford  <jrb@redhat.com>

	* gnome-settings-daemon.c: somehow the font settings were
	removed.  Re add.
2002-03-28 14:27:13 +00:00
jacob berkman
222d8a239a start xscreensaver, and display an error dialog if it failed
2002-03-26  jacob berkman  <jacob@ximian.com>

	* gnome-settings-screensaver.[ch]
	(gnome_settings_screensaver_load): start xscreensaver, and display
	an error dialog if it failed

	* gnome-settings-daemon.c (gnome_settings_daemon_new): init/load
	screensaver
2002-03-26 17:22:02 +00:00
Jody Goldberg
5399ce0b1a Add AccessX capplet. 2002-03-23 04:39:24 +00:00
jacob berkman
3de3677c7b add a dummy field (gnome_settings_daemon_register_callback): cast
2002-03-13  jacob berkman  <jacob@ximian.com>

	* gnome-settings-daemon.c (_GnomeSettingsDaemonPrivate): add a
	dummy field
	(gnome_settings_daemon_register_callback): cast functions to
	gpointers as forte does not like this (bug #74349)
2002-03-13 17:31:20 +00:00
Seth Nickell
3831d63e77 Make the settings daemon a singleton BonoboObject so capplets can detect
2002-03-10  Seth Nickell  <snickell@stanford.edu>

        Make the settings daemon a singleton BonoboObject so capplets
	can detect whether its running and activate it if its not.

	* Makefile.am:
	* factory.c: (main):
	* gnome-settings-daemon.c: (awake_impl), (finalize),
	(gnome_settings_daemon_class_init), (gnome_settings_daemon_init),
	(gnome_settings_daemon_new):
	* gnome-settings-daemon.h:

	Convert the settings-daemon into a BonoboObject and add code to
	register it with bonobo-activation. Still has a main loop that can
	be run normally to launch the settings daemon.
2002-03-11 01:44:03 +00:00
Richard Hestilow
2471cf4ed4 1.99.4
2002-03-08  Richard Hestilow <hestilow@ximian.com>

	* RELEASE: 1.99.4
2002-03-08 21:23:37 +00:00
Miles Lane
4720327aec gnome-settings-daemon.c -- Correct the gnome_program_init() call to
2002-03-06  Miles Lane  <miles@megapathdsl.net>

	* gnome-settings-daemon.c -- Correct the gnome_program_init()
	  call to specify the correct program name.  Specify the
	  restart command, so that the session manager knows how
	  to restart the daemon if it is killed for any reason.
2002-03-06 18:17:33 +00:00
Anders Carlsson
0fcd653297 Add support for bridging WM settings, currently supports
2002-03-04  Anders Carlsson  <andersca@gnu.org>

	* Makefile.am:
	* gnome-settings-daemon.c: (main):
	* gnome-settings-wm.c: (set_number_of_workspaces),
	(set_workspace_names), (wm_callback), (gnome_settings_wm_init),
	(gnome_settings_wm_load):
	* gnome-settings-wm.h:
	Add support for bridging WM settings, currently supports
	_NET_NUMBER_OF_DESKTOPS and _NET_DESKTOP_NAMES.
2002-03-04 08:54:36 +00:00
Jonathan Blandford
03509906b6 Hook up cursor code.
Tue Feb 19 23:52:17 2002  Jonathan Blandford  <jrb@redhat.com>

	* gnome-mouse-properties.c (cursor_font_changed): Hook up cursor code.

Tue Feb 19 23:53:06 2002  Jonathan Blandford  <jrb@redhat.com>

	* gnome-settings-font.c: set the font path and handle cursors.
2002-02-20 05:11:10 +00:00
Jonathan Blandford
25e515ba6a add session management.
Tue Feb 12 01:34:19 2002  Jonathan Blandford  <jrb@redhat.com>

	* gnome-settings-daemon.c (main): add session management.
2002-02-12 07:01:00 +00:00
Bradford Hovinen
f0e642c930 Enable code to load settings; call gnome_settings_background_load too
2002-01-14  Bradford Hovinen  <hovinen@ximian.com>

	* gnome-settings-daemon.c (main): Enable code to load settings;
	call gnome_settings_background_load too
2002-01-14 16:49:59 +00:00
Jonathan Blandford
2cebb9f9f0 added initial TODO 2002-01-11 19:51:10 +00:00
Anders Carlsson
d7e783e524 Call gconf_client_add_dir.
2002-01-09  Anders Carlsson  <andersca@gnu.org>

	* gnome-settings-daemon.c (main): Call gconf_client_add_dir.
2002-01-09 01:08:50 +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
Bradford Hovinen
575824d32a Eliminate compiler warnings
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* All: Eliminate compiler warnings

	* gnome-settings-daemon.h: Use __GNOME_SETTINGS_DAEMON_H for the
	enclosing macro
2001-12-20 20:20:03 +00:00
Bradford Hovinen
b65967ac90 Add common, background, keyboard, mouse back in
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/Makefile.am (always_built_SUBDIRS): Add common,
	background, keyboard, mouse back in

	* configure.in (PKG_CHECK_MODULES): Remove lines pertaining to the
	archiver, add line for gnome settings daemon

	* background-properties-capplet.c (dialog_button_clicked_cb):
	Remove call to apply_settings
	(apply_settings): Remove
	(main): Remove apply_only support

	* default-application-properties.c (main): Call gtk_main, not
	capplet_gtk_main

	* interface.c: Don't #include capplet-widget.h

	* main.c: Don't #include capplet-widget.h or the archiver stuff
	(main): Call gtk_main rather than capplet_gtk_main
	Remove archiver stuff
	(setup_capplet_widget): Don't connect to state_changed_cb
	(state_changed_cb): Remove
	(main): Don't pass cap_options

	* gnome-settings-daemon/Makefile.am
	(gnome_settings_daemon_SOURCES): Add
	gnome-settings-{keyboard|background}.[ch]
	(INCLUDES): Add -I$(top_srcdir)/libbackground
	(gnome_settings_daemon_LDADD): Add
	$(top_builddir)/libbackground/libbackground.a

	* gnome-settings-daemon.c (main): Initialize keyboard and
	background subsystems

	* Added gnome-settings-{keyboard|background}.[ch],
	gnome-settings-daemon/ChangeLog
2001-12-20 14:11:59 +00:00
Jonathan Blandford
f666939831 Handle mouse properties. 2001-12-16 08:24:23 +00:00
Jonathan Blandford
757434ab94 Import from gconf-xsettings module. Cleaned up a bunch, and made to work
Sat Dec  8 21:33:10 2001  Jonathan Blandford  <jrb@redhat.com>

	* gnome-settings-daemon/gnome-settings-daemon.c (main): Import
	from gconf-xsettings module.  Cleaned up a bunch, and made to work
	with mouse properties too.

	* schemas/peripherals.schemas: New location for schemas.  Need to
	write many more.
2001-12-09 18:50:32 +00:00