2006-08-23 Kjartan Maraas <kmaraas@gnome.org>
* preferences.c: (bg_preferences_load),
(bg_preferences_merge_entry), (read_wptype_from_string),
(read_orientation_from_string): Make read_orientation_from_string()
and read_wptype_from_string() behave like read_color_from_string()
and adjust all callers. Avoids some excess strduping too I guess.
Closes bug #352252.
2006-08-21 Rodney Dawes <dobey@novell.com>
* preferences.c (bg_preferences_load): Revert previous leak fix from
Kjartan Maraas as it seems to cause crashes in nautilus
see bug #352279
2006-01-14 Alan Swanson <swanson@ukfsn.org>
* applier.c (get_geometry): Handle the new WPTYPE_ZOOM setting and
return proper geometry for it
* preferences.c (_bg_wptype_values[]): Add the alias for the zoom type
(read_wptype_from_string): Handle setting the type for zoom
(bg_preferences_get_wptype_as_string): Return the string for the new
zoom setting type
* preferences.h (_wallpaper_type_t): Add the new zoom type
Partial code for #105231
2005-11-07 Alexis Robert <alexis@linuxcode.eu.org>
Fixes#320647
* libbackground/preferences.c (bg_preferences_load): only use strings
returned from GConf when not NULL.
2005-10-01 Rodney Dawes <dobey@novell.com>
* preferences.c (bg_preferences_load, bg_preferences_merge_entry):
Make sure that the UTF8 filename is valid and exists before trying
to use it, otherwise fall back to using the filename encoding specified
by the user with the environment variables used by glib to determine
the locale encoding of filenames
Fixes#168604
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-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-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-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
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 Bradford Hovinen <hovinen@ximian.com>
* libbackground/preferences.[ch]: Rename preferences to
bg_preferences to avoid possible namespace collision
* All: Update to reflect the above