Commit graph

35 commits

Author SHA1 Message Date
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
Rodrigo Moya
bdf94c17e1 declare a global GConfClient. (main): unref the global GConfClient.
2005-10-16  Rodrigo Moya <rodrigo@novell.com>

	* factory.c: declare a global GConfClient.
	(main): unref the global GConfClient.

	* gnome-settings-daemon.[ch] (gnome_settings_daemon_get_conf_client):
	new function to use the same GConfClient everywhere.
	(gnome_settings_daemon_new): use the global GConfClient.

	* gnome-settings-accessibility-keyboard.c (set_server_from_gconf,
	ax_response_callback, set_gconf_from_server):
	* gnome-settings-gtk1theme.c (apply_settings):
	* gnome-settings-keybindings.c (bindings_get_entry):
	* gnome-settings-keyboard.c (numlock_get_gconf_state,
	numlock_set_gconf_state, apply_settings):
	* gnome-settings-keyboard-xkb.c (apply_xkb_settings,
	gnome_settings_keyboard_xkb_sysconfig_changed_response,
	gnome_settings_keyboard_xkb_analyze_sysconfig,
	gnome_settings_chk_file_list):
	* gnome-settings-screensaver.c (key_toggled_cb,
	really_start_screensaver):
	* gnome-settings-sound.c (apply_settings):
	* gnome-settings-xmodmap.c (check_button_callback,
	gnome_settings_load_modmap_files, remove_button_clicked_callback,
	load_button_clicked_callback, gnome_settings_modmap_dialog_call):
	* gnome-settings-xsettings.c (xft_callback):
	use the global GConfClient.

	* gnome-settings-keyboard-xkb.c (gnome_settings_keyboard_xkb_load):
	don't get another GConfClient when we're getting one passed!
2005-10-17 14:53:19 +00:00
Sebastien Bacher
84b6e2e24e set windows' icons, patch by Jaap A. Haitsma <jaap@haitsma.org> (Closes:
2005-07-25  Sebastien Bacher  <seb128@debian.org>

        * gnome-settings-accessibility-keyboard.c: (warning_dialog_post):
        * gnome-settings-keyboard-xkb.c:
        (gnome_settings_keyboard_xkb_analyze_sysconfig):
        set windows' icons, patch by Jaap A. Haitsma <jaap@haitsma.org>
        (Closes: #305096).
2005-07-25 13:25:34 +00:00
Carlos Garnacho Parro
9266532462 make sticky keys and slow keys dialog more HIG compliant and usable
2005-03-23  Carlos Garnacho Parro  <carlosg@gnome.org>

        * gnome-settings-accessibility-keyboard.c: make sticky keys and slow
        keys dialog more HIG compliant and usable (selectable text, no
        separator, making ESC key close the dialog, separation between
        widgets, etc...)
2005-06-11 15:02:26 +00:00
Sebastien Bacher
581c37e2bb Cleanup of gconf and a few other things, patch from Kjartan Maraas
2005-05-22  Sebastien Bacher  <seb128@debian.org>

        * ChangeLog capplets/about-me/e-image-chooser.c
        capplets/accessibility/at-properties/at-startup-session.h
        capplets/accessibility/keyboard/accessibility-keyboard.c
        capplets/background/gnome-wp-info.c
        capplets/common/gconf-property-editor.c
        capplets/common/gnome-theme-apply.c
        capplets/default-applications/gnome-default-applications-properties.c
        capplets/keybindings/gnome-keybinding-properties.c
        capplets/keyboard/gnome-keyboard-properties.c
        capplets/mouse/gnome-mouse-properties.c
        capplets/network/gnome-network-preferences.c
        capplets/sound/sound-properties-capplet.c
        capplets/theme-switcher/gnome-theme-details.c
        capplets/theme-switcher/gnome-theme-manager.c
        capplets/ui-properties/gnome-ui-properties.c
        capplets/windows/gnome-window-properties.c
        gnome-settings-daemon/factory.c
        gnome-settings-daemon/gnome-settings-accessibility-keyboard.c
        gnome-settings-daemon/gnome-settings-background.c
        gnome-settings-daemon/gnome-settings-daemon.c
        gnome-settings-daemon/gnome-settings-daemon.h
        gnome-settings-daemon/gnome-settings-font.c
        gnome-settings-daemon/gnome-settings-keybindings.c
        gnome-settings-daemon/gnome-settings-keybindings.h
        gnome-settings-daemon/gnome-settings-keyboard-xkb.c
        gnome-settings-daemon/gnome-settings-keyboard.c
        gnome-settings-daemon/gnome-settings-locate-pointer.h
        gnome-settings-daemon/gnome-settings-mouse.c
        gnome-settings-daemon/gnome-settings-multimedia-keys.c
        gnome-settings-daemon/gnome-settings-screensaver.c
        gnome-settings-daemon/gnome-settings-sound.c
        gnome-settings-daemon/gnome-settings-xmodmap.c
        gnome-settings-daemon/gnome-settings-xrdb.c
        gnome-settings-daemon/gnome-settings-xsettings.c
        libbackground/applier.c libbackground/applier.h
        libbackground/preferences.c libsounds/sound-properties.c
        libsounds/sound-view.h libwindow-settings/gnome-wm-manager.c
        libwindow-settings/metacity-window-manager.c
        typing-break/drw-break-window.c typing-break/drw-utils.h
        typing-break/drwright.c vfs-methods/fontilus/font-view.c
        vfs-methods/themus/themus-theme-applier.c:
        Cleanup of gconf and a few other things,
        patch from Kjartan Maraas <kmaraas@gnome.org> (Closes: #301945).
2005-05-22 15:46:45 +00:00
Kjartan Maraas
5837b13126 Plug a couple of leaks.
2005-03-14  Kjartan Maraas  <kmaraas@gnome.org>

	* gnome-settings-accessibility-keyboard.c: (set_server_from_gconf),
	(set_gconf_from_server): Plug a couple of leaks.
2005-03-14 21:22:17 +00:00
Sebastien Bacher
bf7d49e378 patch from John Spray <jcs116@york.ac.uk> to use the style described in
2005-01-12  Sebastien Bacher  <seb128@debian.org>

	* gnome-settings-accessibility-keyboard.c: (warning_dialog_post):
	patch from John Spray <jcs116@york.ac.uk> to use the style described
	in the HIG for the titles (Closes: #163653).
2005-01-11 23:48:10 +00:00
Mariano Suárez-Alvarez
cdfef1c131 fix a typo in a variable name, bug #134699.
2004-02-24  Mariano Suárez-Alvarez <mariano@gnome.org>

	* gnome-settings-daemon/gnome-settings-accessibility-keyboard.c
	(ax_slowkeys_warning_dialog_post) : fix a typo in a variable name, bug
	#134699.
2004-02-24 17:33:40 +00:00
Jody Goldberg
91af082eaf http://bugzilla.gnome.org/show_bug.cgi?id=134446 removed space
2004-02-16  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=134446
	* font-properties.glade : removed space

2004-02-16  Jody Goldberg <jody@gnome.org>

	* gnome-settings-accessibility-keyboard.c
	(ax_slowkeys_warning_dialog_post) : fix cut-n-paste-o in the message
2004-02-16 17:55:09 +00:00
Muktha
92bc252e78 Do not popup the logout dialog when the close button (X) of window manager
2003-11-27  Muktha <muktha.narayan@wipro.com>

	* main.c: Do not popup the logout dialog when the close button (X) of
	window manager is clicked. Fixes bug #124032.

2004-02-16  Jody Goldberg <jody@gnome.org>

	* accessibility-keyboard.c (cb_load_CDE_file) : Add a kludge to set
	  the vertical size based on the monitor size until the filesel can do
	  a better job of doing it itself.

2003-12-07  Jan Arne Petersen  <jpetersen@uni-bonn.de>

	* accessibility-keyboard.c: (load_CDE_file),
	(fchooser_handle_response), (cb_load_CDE_file): replace
	GtkFileSelection with GtkFileChooser.

2003-12-07  Jan Arne Petersen  <jpetersen@uni-bonn.de>

	* background-properties-capplet.c: remove unused
	"preview_file_selection.h" include.

2004-02-16  Jody Goldberg <jody@gnome.org>

	* gconf-property-editor.c (peditor_image_clicked_cb) : Use the monitor
	  size kludge for the vertical size of the new file selector.

2003-12-07  Jan Arne Petersen  <jpetersen@uni-bonn.de>

	* gconf-property-editor.c: (peditor_image_set_filename),
	(peditor_image_chooser_response_cb),
	(peditor_image_chooser_update_preview_cb),
	(peditor_image_clicked_cb): replace
	PreviewFileSelection (GtkFileSelection) with GtkFileChooser, use new
	gdk_pixbuf_new_from_file_at_size method to load a scaled image.

2004-02-16  Jody Goldberg <jody@gnome.org>

	* gnome-settings-accessibility-keyboard.c : include
	  libgnome/gnome-help.h to avoid potential crash on 64 bit arches.
	(ax_response_callback) : actually display the error message on
	  failure.

2004-02-16  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=134389
	* Makefile.am : Patch from jmmv@menta.net (Julio M. Merino Vidal)
	  to honour the standard schema install flags.
	  I've extended the patch to support builddir != srcdir too
2004-02-16 17:32:53 +00:00
Mark McLoughlin
d9885e685f update help links to point to user-guide.xml
2004-02-12  Mark McLoughlin  <mark@skynet.ie>

        * capplets/display/main.c: (cb_dialog_response):
        * capplets/localization/gnome-localization-properties.c:
        (dialog_response): update help links to point to user-guide.xml
2004-02-12 14:23:03 +00:00
Jody Goldberg
261b2b9838 Release 2.5.2
2004-01-14  Jody Goldberg <jody@gnome.org>

	* Release 2.5.2
2004-01-14 06:41:31 +00:00
Federico Mena Quintero
a3ab452d9e Fix ; -> , typo.
2004-01-12  Federico Mena Quintero  <federico@ximian.com>

	* gnome-settings-accessibility-keyboard.c
	(ax_stickykeys_warning_dialog_post): Fix ; -> , typo.
2004-01-13 02:13:50 +00:00
Bill Haneman
dcb6453298 Post a warning dialog when the user enables or disables an AccessX
feature via a keyboard shortcut.  Fixes bug #105093.
2004-01-12 20:37:03 +00:00
Jody Goldberg
ce78d4d670 register the gconf handler early.
2002-10-31  Jody Goldberg <jody@gnome.org>

	* gnome-settings-accessibility-keyboard.c
	(gnome_settings_accessibility_keyboard_init) : register the gconf
	  handler early.
	(gnome_settings_accessibility_keyboard_load) : not here where it is
	  too late.
2002-11-01 03:42:18 +00:00
Jody Goldberg
54100a3134 http://bugzilla.gnome.org/show_bug.cgi?id=95179 do nothing here.
2002-10-08  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=95179
	* gnome-settings-accessibility-keyboard.c
	(gnome_settings_accessibility_keyboard_init) : do nothing here.
	(gnome_settings_accessibility_keyboard_load) : install the filter
	  here, _after_ loading the gconf settings.
	(set_gconf_from_server) : check to see if anything has actually
	  changed before sending off the changeset.
2002-10-08 16:38:20 +00:00
Jody Goldberg
a1f98f2f24 Fix conflicting accelerators.
2002-09-11  Jody Goldberg <jody@gnome.org>

	* gnome-accessibility-keyboard-properties.glade : Fix conflicting
	  accelerators.

	* accessibility-keyboard.c (setup_dialog) : connect the simple items
	  before the master.
	(cb_master_enable_toggle) : desensitize the subfeature content if the
	  master switch is disabled.
2002-09-11 13:24:23 +00:00
Jody Goldberg
864c769bc3 merge in the pending changes 2002-09-10 04:04:20 +00:00
Jody Goldberg
3b1c8cb1cd fix missed capitalization for the ui-review.
2002-08-10  Jody Goldberg <jody@gnome.org>

	* file-types-properties.glade : fix missed capitalization for the
	ui-review.

2002-08-15  Jody Goldberg <jody@gnome.org>

	* gnome-keyboard-properties.glade : fix label and make consistent with
	  mouse capplet.
	* gnome-keyboard-properties.c (create_dialog) : use size groups.

2002-08-15  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=90778
	* gnome-settings-accessibility-keyboard.c (set_gconf_from_server) :
	  Add a heuristic so that we do not disable features in gconf just
	  because they are disabled in the X server.  If the master switch is
	  already disabled in gconf we can guess that most of the time it
	  means that people want to keep their flags.


2002-08-07  Jody Goldberg <jody@gnome.org>

	* po/POTFILES.in : remove bogus file.
2002-08-15 17:54:10 +00:00
Jody Goldberg
7eaed7842e add some bounds checking.
2002-06-10  Jody Goldberg <jody@gnome.org>

	* gnome-settings-accessibility-keyboard.c (set_server_from_gconf) :
	  add some bounds checking.
2002-06-12 13:50:21 +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
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
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
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
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
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
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
Jody Goldberg
5399ce0b1a Add AccessX capplet. 2002-03-23 04:39:24 +00:00