Commit graph

33 commits

Author SHA1 Message Date
Kjartan Maraas
564a9d03aa Huge cleanup. Individual ChangeLogs have info. Closing bug #320157. ANSIfy
2005-11-14  Kjartan Maraas  <kmaraas@gnome.org>

	* */*: Huge cleanup. Individual ChangeLogs have info.
	Closing bug #320157.
	* libkbddraw/keyboard-drawing.h: ANSIfy some function declarations.
2005-11-14 15:18:09 +00:00
Rodrigo Moya
845d328106 2005-10-18 Rodrigo Moya <rodrigo@novell.com><>
* gnome-settings-font.c (load_xcursor_theme):
	* gnome-settings-xsettings.c (gnome_xft_settings_set_xsettings):
	run xrdb with -nocpp, since it's not needed here.
2005-10-18 14:25:26 +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
23d4c2d5f2 patch by Matthias Clasen <mclasen@redhat.com> to expose the cursor theme
2005-07-07  Sebastien Bacher  <seb128@debian.org>

        * gnome-settings-xsettings.c:
        patch by Matthias Clasen <mclasen@redhat.com> to expose the cursor
        theme settings as xsettings (Closes: #308104).
2005-07-07 19:35:59 +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
Sebastien Bacher
2373a10183 list "Gtk/MenuBarAccel", allow to configure the menubar shortcut (Closes:
2005-05-11  Sebastien Bacher  <seb128@debian.org>

        * gnome-settings-xsettings.c: list "Gtk/MenuBarAccel", allow to
        configure the menubar shortcut (Closes: #120859).
2005-05-11 11:25:49 +00:00
Sebastien Bacher
ad0968036a patch by Thomas Cataldo <thomas.cataldo@aliacom.fr> to fix a bunch of
2004-10-21  Sebastien Bacher  <seb128@debian.org>

	* gnome-settings-default-editor.c: (vfs_change_cb):
	* gnome-settings-font.c: (load_cursor):
	* gnome-settings-gtk1theme.c: (apply_settings):
	* gnome-settings-keyboard.c: (apply_settings):
	* gnome-settings-multimedia-keys.c: (init_kbd):
	* gnome-settings-xsettings.c: (gnome_settings_xsettings_load):
	patch by Thomas Cataldo <thomas.cataldo@aliacom.fr> to fix a bunch of
	memory leaks (Closes: #150145).
2004-10-21 19:41:26 +00:00
Crispin Flowerday
71d47e6105 Translate the menus_have_icons gconf key to the MenuImages xsetting
2004-06-18  Crispin Flowerday  <gnome@flowerday.cx>

	* gnome-settings-xsettings.c: Translate the menus_have_icons
	gconf key to the MenuImages xsetting (Closes bug #144201)
2004-06-18 19:38:53 +00:00
Jonathan Blandford
294bc86508 Add the FileChooserBackend as an xsetting.
Fri Mar 12 20:15:28 2004  Jonathan Blandford  <jrb@gnome.org>

        * gnome-settings-xsettings.c: Add the FileChooserBackend as an
        xsetting.
2004-03-17 17:59:39 +00:00
Jonathan Blandford
9cb3e7515d Set the correct default dpi.
Mon Jan 19 11:49:03 2004  Jonathan Blandford  <jrb@gnome.org>

        * gnome-settings-xsettings.c (gnome_xft_settings_get): Set the
        correct default dpi.
2004-01-19 16:50:26 +00:00
Marco Pesenti Gritti
bf55e34692 Add a setting for gtk icon theme.
2003-11-13  Marco Pesenti Gritti  <marco@gnome.org>

        * gnome-settings-xsettings.c:

        Add a setting for gtk icon theme.
2003-11-13 09:27:15 +00:00
Jonathan Blandford
09a24e9d5d Patch from Anders Carlsson to special case "both-horiz".
Thu Jul 31 14:22:38 2003  Jonathan Blandford  <jrb@redhat.com>

        * gnome-settings-xsettings.c (translate_string_string_toolbar):
        Patch from Anders Carlsson to special case "both-horiz".

Thu Jul 31 14:06:51 2003  Jonathan Blandford  <jrb@redhat.com>

        * gnome-settings-mouse.c: Patch from Satyajit Kanungo
        <satyajit.kanungo@wipro.com> to make locate pointer work in
        a multi-screen environment.
2003-07-31 18:27:44 +00:00
Jody Goldberg
deac1194de http://bugzilla.gnome.org/show_bug.cgi?id=116568 generate values in locale
2003-07-02  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=116568
	* gnome-settings-daemon/gnome-settings-xsettings.c
	(gnome_xft_settings_set_xresources) : generate values in locale C
2003-07-02 21:31:06 +00:00
Jonathan Blandford
1f239d9a03 handle xcursor so that we support Xcursor files.
Thu Feb  6 16:43:33 2003  Jonathan Blandford  <jrb@redhat.com>

	* gnome-settings-font.c (load_xcursor_theme): handle xcursor so
	that we support Xcursor files.

	* gnome-settings-daemon.c: move
	gnome_settings_daemon_spawn_with_input here so multiple modules
	can use it.
2003-02-06 21:47:00 +00:00
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
Jonathan Blandford
69fcadbe29 add Gtk/CanChangeAccels to xsettings
Sun Oct 27 09:00:46 2002  Jonathan Blandford  <jrb@gnome.org>

        * gnome-settings-xsettings.c: add Gtk/CanChangeAccels to xsettings
2002-10-27 14:07:38 +00:00
Hidetoshi Tajima
fe9580785a disable/enable preedit/status in GtkIMContextXIM (#59076)
* gnome-settings-xsettings.c: added two new xsettings
	for GTK+ input method preedit and status styles.

	With the other patch for gtk+, the preedit and status styles of
	GTK+ input method are configurable with associated gconf schemas
	keys:
	"/desktop/gnome/interface/gtk-im-preedit-style"
	"/desktop/gnome/interface/gtk-im-status-style"

	Both are set to "callback" by default, and platform's
	packging can have different default by changing
	libgnome's desktop_gnome_interface.schemas.
2002-09-24 22:57:29 +00:00
Owen Taylor
05fb268094 ue Jul 23 22:35:10 2002 Owen Taylor <otaylor@redhat.com>
* acconfig.h configure.in: Check for Xft2.

        * capplets/font/main.c capplets/font/Makefile.am
        capplets/font/font-properties.glade: If XFt2 is present,
        allow the user to control various font rendering attributes.

        * gnome-settings-daemon/gnome-settings-xsettings.c:
        Mirror the Xft rendering attributes from the font
        capplet to XSETTINGS and Xrdb.

        * schemas/Makefile.am schemas/desktop_gnome_font_rendering.schemas:
        Add schemas for the new GConf settings.
2002-07-24 02:39:03 +00:00
Jody Goldberg
91d6c53977 http://bugzilla.gnome.org/show_bug.cgi?id=85327 These strings do look
2002-06-17  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=85327
	* gnome-settings-xsettings.c (translate_string_string) : These strings
	  do look wrong.  The capplet is setting the keys from the schema.
	  we were not mapping them to the write xsettings.  It did not really
	  matter because we were not using xsettings to communicate these
	  values.
2002-06-17 21:22:12 +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
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
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
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
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
Lauris Kaplinski
1eef9d7561 Replaced all deprecated methods except 2 GtkCTree instances with gnome-2
alternatives.
2002-02-13 16:52:18 +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
Anders Carlsson
6b980e6eaa Add support for changing themes.
2002-01-21  Anders Carlsson  <andersca@gnu.org>

	* gnome-settings-xsettings.c: Add support for changing themes.
2002-01-21 21:57:50 +00:00
Jonathan Blandford
d56503be2a Move locate_pointer out.
Mon Jan 21 01:29:57 2002  Jonathan Blandford  <jrb@redhat.com>

	* gnome-settings-keyboard.c: Move locate_pointer out.

	* gnome-settings-mouse.c: Move locate_pointer in.  Clean up code.
	Remove print statements.
2002-01-21 06:38:45 +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
Jonathan Blandford
f666939831 Handle mouse properties. 2001-12-16 08:24:23 +00:00
Jonathan Blandford
f6f9711f6f use gconf macros.
Sun Dec  9 19:24:47 2001  Jonathan Blandford  <jrb@redhat.com>

	* configure.in: use gconf macros.
2001-12-10 05:31:44 +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