Commit graph

73 commits

Author SHA1 Message Date
Jody Goldberg
cd185dae21 Add some bounds checking.
2002-05-30  Jody Goldberg <jody@gnome.org>

	* gnome-settings-keyboard.c (xkb_set_keyboard_autorepeat_rate) : Add
	  some bounds checking.
2002-05-30 17:38:52 +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
Jody Goldberg
8c6844c7bb disable some debug spew. (set_gconf_from_server) : ditto.
2002-05-22  Jody Goldberg <jody@gnome.org>

	* gnome-settings-accessibility-keyboard.c (set_server_from_gconf) :
	  disable some debug spew.
	(set_gconf_from_server) : ditto.
2002-05-22 21:08:19 +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
513acbdcc0 quit when we get the die signal from the SM
2002-05-22  jacob berkman  <jacob@ximian.com>

	* factory.c (main): quit when we get the die signal from the SM
2002-05-22 18:57:11 +00:00
Jody Goldberg
79979d3d67 http://bugzilla.gnome.org/show_bug.cgi?id=80325 although we may not be
2002-05-16  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=80325
	* gnome-settings-keyboard.c (apply_settings) : although we may not be
	  able to support the autorepeat rate setting we can enable/disable
	  autorepeat.
2002-05-17 03:33:14 +00:00
jacob berkman
3902821faa load from the correct key for whether the bell should be on or not
2002-05-16  jacob berkman  <jacob@ximian.com>

	* gnome-settings-keyboard.c (apply_settings): load from the
	correct key for whether the bell should be on or not
	(apply_settings): pass the right flags to XChangeKeyboardControl()

	fixes #78016 and 78015
2002-05-16 23:16:47 +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
1ce84d9eda s/.gnome/.gnome2/g
Mon May 13 17:05:22 2002  Jonathan Blandford  <jrb@redhat.com>

	* gnome-settings-font.c (load_cursor): s/.gnome/.gnome2/g
2002-05-13 21:13:45 +00:00
Anders Carlsson
69d701578d Watch the dnd threshold xsetting.
2002-05-12  Anders Carlsson  <andersca@gnu.org>

	* gnome-settings-xsettings.c:
	Watch the dnd threshold xsetting.
2002-05-12 09:00:51 +00:00
Kjartan Maraas
7e5b5a29d7 Add calls to bindtext* for i18n. Add -DGNOMELOCALEDIR="\".....\"" Mark
2002-04-30  Kjartan Maraas  <kmaraas@gnome.org>

	* factory.c: Add calls to bindtext* for i18n.
	* Makefile.am: Add -DGNOMELOCALEDIR="\".....\""
	* gnome-settings-font.c: Mark strings and add #includes.
	* gnome-settings-screensaver.c: Same
	* gnome-settings-sound.c: Same.
	* gnome-settings-xsettings.c: Same.
	* gnome-settings-wm.c: Fix a warning.
2002-04-30 09:45:05 +00:00
Jody Goldberg
65d7e93535 *** empty log message *** 2002-04-25 04:59:10 +00:00
Jody Goldberg
68884480e6 max speed is in pixels per _event_ not relative to time. double check that
2002-04-24  Jody Goldberg <jody@gnome.org>

	* gnome-settings-accessibility-keyboard.c (set_server_from_gconf) :
	  max speed is in pixels per _event_ not relative to time.  double
	  check that we don't set 0.

2002-04-24  Jody Goldberg <jody@gnome.org>

	* gnome-settings-accessibility-keyboard.c
	(gnome_settings_accessibility_keyboard_init) : we're only interested
	  in control changes.
	(set_gconf_from_server) : set both XkbAccessXKeysMask|XkbAccessXFeedbackMask
	  when we enable accessX, and fix typo.
2002-04-25 03:59:56 +00:00
Jody Goldberg
b16ef6d7cd suppress warning.
2002-04-23  Jody Goldberg <jody@gnome.org>

	* gnome-settings-accessibility-keyboard.c (get_xkb_desc_rec) :
	  suppress warning.
2002-04-23 18:27:19 +00:00
Rachel Hestilow
d4e6287116 s/Richard/Rachel
2002-04-21  Rachel Hestilow  <hestilow@ximian.com>

	* *.c: s/Richard/Rachel

	* configure.in: Bump version to 1.99.7

	* RELEASE: 1.99.7
2002-04-21 21:22:35 +00:00
Rachel Hestilow
6f03bca307 s/gnome2/gnome
2002-04-17  Rachel Hestilow  <hestilow@ximian.com>

	* GNOME_SettingsDaemon.server.in: s/gnome2/gnome
2002-04-18 05:08:48 +00:00
Jonathan Blandford
f1d6eefaa1 Patch from Akira Tagoh <tagoh@gnome-db.org> to change the restart command
Tue Apr 16 17:09:02 2002  Jonathan Blandford  <jrb@redhat.com>

	* factory.c (main): Patch from Akira Tagoh <tagoh@gnome-db.org> to
	change the restart command from gnome2-settings-daemon to
	gnome-settings-daemon.
2002-04-16 21:10:20 +00:00
jacob berkman
7ddf5e6148 only do xkb calls if xkb is present (better fix for previous commit)
2002-04-11  jacob berkman  <jacob@ximian.com>

	* gnome-settings-accessibility-keyboard.c: only do xkb calls if
	xkb is present (better fix for previous commit)
2002-04-11 22:37:52 +00:00
Jody Goldberg
dacdab13c5 be even more anal.
2002-04-11  Jody Goldberg <jody@gnome.org>

	* gnome-settings-accessibility-keyboard.c (set_server_from_gconf) : be
	  even more anal.
2002-04-11 21:54:10 +00:00
Jody Goldberg
2409371641 handle the renaming 2002-04-11 15:51:19 +00:00
Jody Goldberg
68b79b4fab http://bugzilla.gnome.org/show_bug.cgi?id=77203 be more anal about server
2002-04-01  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=77203
	* gnome-settings-accessibility-keyboard.c (set_gconf_from_server) : be
	  more anal about server failure.
	(set_server_from_gconf) : ditto.

2002-03-30  Jody Goldberg <jody@gnome.org>

	* gnome-settings-xsettings.c (translations) : reorder to match gdk.
	  This simplifies maintenance.
2002-04-10 23:30:45 +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
jacob berkman
b92d48b59e prefer gdk_flush() to XFlush() (fixes bug #77208)
2002-04-04  jacob berkman  <jacob@ximian.com>

	* gnome-settings-accessibility-keyboard.c (set_server_from_gconf):
	prefer gdk_flush() to XFlush() (fixes bug #77208)
2002-04-04 19:46:47 +00:00
Jody Goldberg
6e7a639581 get really anal about potential X errors. (set_gconf_from_server) : ditto.
2002-03-29  Jody Goldberg <jody@gnome.org>

	* gnome-settings-accessibility-keyboard.c
	(gnome_settings_accessibility_keyboard_init) : get really anal about
	  potential X errors.
	(set_gconf_from_server) : ditto.
2002-03-30 04:52:52 +00:00
Jody Goldberg
d80e0c86be Patch some settings-daemon X errors when running remotely, and enable cursor
blink support.

2002-03-29  Jody Goldberg <jody@gnome.org>

	* gnome-settings-accessibility-keyboard.c (set_server_from_gconf) :
	  Add a gdk_error_trap just in case.

	* gnome-settings-keyboard.c (apply_settings) : don't init things to
	  bogus values unless it is ncessary.  Add a gdk_error_trap around the
	  X settings to avoid causing the server to exit if something goes
	  wrong.  Be sure to flush before we pop the handler.
2002-03-30 03:25:26 +00:00
Jody Goldberg
84332cb647 fix spelling error in schema.
2002-03-29  Jody Goldberg <jody@gnome.org>

	* gnome-settings-accessibility-keyboard.c (set_server_from_gconf) :
	  fix spelling error in schema.
2002-03-29 22:30:40 +00:00
Jody Goldberg
b06b0afa86 add missing NULL terminator.
2002-03-29  Jody Goldberg <jody@gnome.org>

	* gnome-settings-font.c (load_cursor) : add missing NULL terminator.
2002-03-29 20:05:08 +00:00
Jody Goldberg
c00e3a749c click volume is an integer from 0..100, schema is an int too. Remove float
2002-03-29  Jody Goldberg <jody@gnome.org>

	* gnome-settings-keyboard.c (apply_settings) : click volume is an
	  integer from 0..100, schema is an int too.  Remove float and double
	  and add some bounds checking.

	(set_server_from_gconf) : scale mk_time_to_max by mk_interval so that
	  it is actually in msec.
	(set_gconf_from_server) : do the inverse here.
2002-03-29 17:21:23 +00:00
Jody Goldberg
1fe61dbcf6 mouse keys now work.
2002-03-29  Jody Goldberg <jody@gnome.org>

	* gnome-settings-accessibility-keyboard.c : make the debug spew optional
	(set_server_from_gconf) : typo that only applied settings when we
	  shouldn't.
	(set_server_from_gconf) : set the mouse key accel flag when mk is
	  enabled so that we can actually set the accel parms.  How did this
	  work in X11R6 ?
2002-03-29 06:19:22 +00:00
jacob berkman
1a9d28bcab fix a typo
2002-03-28  jacob berkman  <jacob@ximian.com>

	* gnome-settings-accessibility-keyboard.c (set_server_from_gconf):
	fix a typo
2002-03-29 01:13:33 +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
jacob berkman
fc7c0a3f27 tell the SM to restart us only after we know we're unique with
2002-03-25  jacob berkman  <jacob@ximian.com>

	* factory.c (main): tell the SM to restart us only after we know
	we're unique with bonobo-activation
2002-03-25 20:30:33 +00:00
Jody Goldberg
5399ce0b1a Add AccessX capplet. 2002-03-23 04:39:24 +00:00
Jonathan Blandford
ac9331cf2b Add new Makefiles ditto Add keybindings dialog
2002-03-17  Jonathan Blandford  <jrb@redhat.com>

	* Makefile.am: Add new Makefiles
	* configure.in: ditto
	* capplets/Makefile.am: Add keybindings dialog

	* capplets/keybindings/.cvsignore: shut up CVS

	* capplets/keybindings/Makefile.am:
	* capplets/keybindings/eggcellrendererkeys.c:
	* capplets/keybindings/eggcellrendererkeys.h:
	* capplets/keybindings/gnome-keybinding-properties.c:
	* capplets/keybindings/gnome-keybinding-properties.glade:
	* capplets/keybindings/keybinding.desktop.in:
	New properties dialog.  Seems to work

	* schemas/.cvsignore: shut up CVS

	* schemas/Makefile.am:
	* schemas/apps_gnome_keybinding_properties.schemas: New schemas
	file for configuring the keybinding schemas.
	* schemas/background.schemas: Remove unneeded schemas files
	* schemas/peripherals.schemas:
	* schemas/screensaver.schemas:
2002-03-17 21:27:09 +00:00
Kjartan Maraas
44fd04b29b Move include <config.h> to the top.
2002-03-17  Kjartan Maraas  <kmaraas@gnome.org>

	* factory.c: Move include <config.h> to the top.
2002-03-17 21:20:04 +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
Richard Hestilow
ec08294088 Committed patches by Lauris Kaplinski for bugs 73571, 73587, and 71613.
2002-03-11  Richard Hestilow <hestilow@ximian.com>

	* Committed patches by Lauris Kaplinski for bugs 73571, 73587,
	and 71613.
2002-03-12 01:35:40 +00:00
Seth Nickell
dd4595f15d Dum de dum. Forgot to cvs add.
2002-03-10  Seth Nickell  <snickell@stanford.edu>

	* GNOME_SettingsDaemon.server.in:

	Dum de dum. Forgot to cvs add.
2002-03-11 02:18:43 +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
Gediminas Paulauskas
e48aab4399 more silence 2002-02-17 23:05:10 +00:00
Lauris Kaplinski
1eef9d7561 Replaced all deprecated methods except 2 GtkCTree instances with gnome-2
alternatives.
2002-02-13 16:52:18 +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
Richard Hestilow
c6e987d38b Added font capplet.
2002-02-10  Richard Hestilow  <hestilow@ximian.com>

	* Added font capplet.
2002-02-10 08:02:00 +00:00
Lauris Kaplinski
35e192827a Lot of little fixes to make it to compile without most of the deprecated stuff 2002-02-04 17:48:43 +00:00