Commit graph

27 commits

Author SHA1 Message Date
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
Jody Goldberg
d5fe6a9930 http://bugzilla.gnome.org/show_bug.cgi?id=79149 fix leaks and use
2002-04-19  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=79149
	* preferences.c (bg_preferences_clone) : fix leaks and use
	  gdk_color_free because some wiseguy thought GdkColours should use
	  memchunks.
	(bg_preferences_load) : ditto.
	(bg_preferences_merge_entry) : ditto.
	(read_color_from_string) : ditto.
	(bg_preferences_finalize) : ditto. clean out pointers to protect
	  against multiple calls.
2002-04-19 16:57:58 +00:00
Anders Carlsson
166fe70bd4 Plug leaks. Sigh.
2002-04-17  Anders Carlsson  <andersca@gnu.org>

	* preferences.c: (bg_preferences_finalize), (bg_preferences_load):
	Plug leaks. Sigh.
2002-04-17 20:32:48 +00:00
Richard Hestilow
be50597a25 Link to common.la and not common.a.
2002-03-19  Richard Hestilow  <hestilow@ximian.com>

	* configure.in (COMMON_LIBS): Link to common.la and not common.a.
2002-03-20 03:30:11 +00:00
Darin Adler
6eff67c9f5 Use G_GNUC_FUNCTION so we're not gcc-specific.
* preferences.c: (bg_preferences_merge_entry):
	Use G_GNUC_FUNCTION so we're not gcc-specific.
2002-03-17 18:25:35 +00:00
Seth Nickell
8e834c8342 Add an enum type for specifying that we don't know the type (i.e. the key
2002-03-15  Seth Nickell  <snickell@stanford.edu>

	* preferences.c: (bg_preferences_load),
	(bg_preferences_merge_entry), (read_wptype_from_string),
	(read_color_from_string), (bg_preferences_get_wptype_as_string):
	* preferences.h:

	Add an enum type for specifying that we don't know the type (i.e. the
	key was not available, or set to something invalid). Currently it
	was using -1, which barfs with some compilers that set enums
	to be uint.
2002-03-15 09:23:45 +00:00
Richard Hestilow
c10c6c06ce Committed new schemas patch.
2002-03-14  Richard Hestilow  <hestilow@ximian.com>

	* Committed new schemas patch.
2002-03-15 03:56:44 +00:00
Richard Hestilow
18e6eb221f Added.
2002-03-09  Richard Hestilow  <hestilow@ximian.com>

	* preview-file-selection.[ch]: Added.

	* Makefile.am: Compile preview-file-selection.c.

	* preferences.c (bg_preferences_init): Initialize adjust_opacity
	to FALSE.
2002-03-10 00:37:09 +00:00
Alexander Larsson
d4d99fea71 Save wallpaper-enabled too.
2002-03-03  Alexander Larsson  <alla@lysator.liu.se>

	* preferences.c (bg_preferences_save):
	Save wallpaper-enabled too.
2002-03-04 04:06:48 +00:00
Richard Hestilow
bc353d8335 Add function bg_preferences_save.
2002-02-22  Richard Hestilow  <hestilow@ximian.com>

	* preferences.[ch]: Add function bg_preferences_save.
2002-02-23 04:42: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
Rachel Hestilow
a6e8bdd1c3 oops 2002-02-12 06:26:36 +00:00
Richard Hestilow
31ac49063f Committed instant-apply patch sans background.
2002-02-11  Richard Hestilow  <hestilow@ximian.com>

	* Committed instant-apply patch sans background.
2002-02-12 06:16:11 +00:00
Rachel Hestilow
42c170078b Reverting changes back to hovinen's pre-seth-ui setup. 2002-02-11 04:13:39 +00:00
Lauris Kaplinski
533c0f416b Fix crash on NULL values from GConf 2002-02-05 11:13:58 +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
Seth Nickell
5fe3e40279 Read control center directory structure out of GnomeVFS instead of
2002-01-28  Seth Nickell  <snickell@stanford.edu>

	* control-center/capplet-dir.c: (capplet_new), (capplet_dir_new),
	(capplet_dir_entry_destroy), (read_entries),
	(get_root_capplet_dir):
	* control-center/capplet-dir.h:

	Read control center directory structure out of GnomeVFS instead of
	directly off the disk.

	Also deal with pixmaps more uniformly, and properly load them
	out of PREFIX/share/pixmaps when they aren't an absolute path.

	* capplets/desktop-links/Sawfish/appearance-properties.desktop.in:
	* capplets/desktop-links/Sawfish/bindings-properties.desktop.in:
	* capplets/desktop-links/Sawfish/focus-properties.desktop.in:
	* capplets/desktop-links/Sawfish/match-properties.desktop.in:
	* capplets/desktop-links/Sawfish/maximize-properties.desktop.in:
	* capplets/desktop-links/Sawfish/meta-properties.desktop.in:
	* capplets/desktop-links/Sawfish/misc-properties.desktop.in:
	* capplets/desktop-links/Sawfish/move-properties.desktop.in:
	* capplets/desktop-links/Sawfish/placement-properties.desktop.in:
	* capplets/desktop-links/Sawfish/sound-properties.desktop.in:
	* capplets/desktop-links/Sawfish/workspace-properties.desktop.in:
	* capplets/ui-properties/behavior.desktop.in.in:

	Add a Categories Field.

	* capplets/desktop-links/Makefile.am:
	* capplets/desktop-links/Sawfish/Makefile.am:
	* capplets/file-types/Makefile.am:
	* capplets/theme-switcher/Makefile.am:
	* capplets/ui-properties/Makefile.am:
	* control-center/Gnome.directory.in.in:
	* control-center/Makefile.am:

	Install directory files into PREFIX/share/gnome/vfolders, the standard
	vfolder description location.
2002-01-29 04:48:25 +00:00
Laszlo Peter
a02d04c48b s/__FUNCTION__/G_GNUC_FUNCTION/ ditto ditto ditto change "test $x == y" to
2002-01-28  Laszlo Peter  <laca@ireland.sun.com>

	* archiver/location.c: s/__FUNCTION__/G_GNUC_FUNCTION/
	* capplets/common/capplet-util.c: ditto
	* capplets/common/capplet-util.h: ditto
	* libbackground/preferences.c: ditto
	* applets/common/wrapper-script.in: change "test $x == y" to
	  "test $x = y" for portability
2002-01-28 19:55:29 +00:00
Bradford Hovinen
3e7140488f Courtesy of Jean Schurger <jschurger@schurger.org>: Make sure the
2002-01-10  Bradford Hovinen  <hovinen@ximian.com>

	Courtesy of Jean Schurger <jschurger@schurger.org>:
	* preferences.c (bg_preferences_merge_entry): Make sure the
	wallpaper filename is non-NULL before doing anything with it
2002-01-10 19:45:08 +00:00
Bradford Hovinen
064dac63c0 Disable the wallpaper if we couldn't load it (bg_applier_apply_prefs):
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* applier.c (bg_applier_apply_prefs): Disable the wallpaper if we
	couldn't load it
	(bg_applier_apply_prefs): Create a clone of the preferences
	structure first and work off of that
	(wallpaper_full_cover_p): Return FALSE if the wallpaper pixbuf is NULL
2001-12-20 20:47:43 +00:00
Bradford Hovinen
a2b2b7932a Rename preferences to bg_preferences to avoid possible namespace collision
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* libbackground/preferences.[ch]: Rename preferences to
	bg_preferences to avoid possible namespace collision

	* All: Update to reflect the above
2001-12-20 14:24:56 +00:00
Bradford Hovinen
19d9454148 Use gconf_client rather than gconf_engine
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* preferences.c (preferences_load): Use gconf_client rather
	than gconf_engine
2001-12-18 16:40:15 +00:00
Bradford Hovinen
b78df6748e Update GConf keys to use /desktop/gnome/background
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* preferences.c: Update GConf keys to use /desktop/gnome/background
2001-12-18 16:18:00 +00:00
Bradford Hovinen
3504b0d5ab Use correct keys
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* preferences.c (preferences_merge_entry): Use correct keys
2001-12-17 18:23:47 +00:00
Bradford Hovinen
3aa4e58a6b Initialize the error structure
2001-12-07  Bradford Hovinen  <hovinen@ximian.com>

	* preferences.c (preferences_load): Initialize the error
	structure
2001-12-07 19:56:51 +00:00
Bradford Hovinen
58d92fe12a Check if string is non-NULL
2001-12-07  Bradford Hovinen  <hovinen@ximian.com>

	* preferences.c (read_color_from_string): Check if string is
	non-NULL
2001-12-07 19:34:21 +00:00
Bradford Hovinen (Gdict maintainer)
669a1e2f3a Removed background rendering code from the background capplet and moved it
to a separate static library.
2001-12-06 23:53:58 +00:00
Renamed from capplets/background/preferences.c (Browse further)