2001-08-13 Richard Hestilow <hestilow@ximian.com>
* applier.c (applier_apply_prefs): Only draw disabled message
if do_preview. Actually, the user will never see this because
the correct behavior (which is done) is to assume if they're
running capplet, prefs->enable should be TRUE. This is because
we are only honoring enable as a hacker-only setting.
(output_compat_prefs): Output the correct "Enable" setting.
* background-properties-capplet.c (get_legacy_settings): Support
the "Enabled" flag.
* preferences.c (preferences_new_from_bonobo_db): Import the
"enabled" flag. Note that this is not bothered with in the _pbag
function, because that's from the Proxy settings, which is only
used for the GUI capplet, which always sets enabled to True, because
this is a hacker-only option. Got it?
* background-properties.xml: Add "enabled".
2001-07-27 Richard Hestilow <hestilow@ximian.com>
* applier.c (applier_apply_prefs): Only draw disabled message
if do_preview. Actually, the user will never see this because
the correct behavior (which is done) is to assume if they're
running capplet, prefs->enable should be TRUE. This is because
we are only honoring enable as a hacker-only setting.
(output_compat_prefs): Output the correct "Enable" setting.
* background-properties-capplet.c (get_legacy_settings): Support
the "Enabled" flag.
* preferences.c (preferences_new_from_bonobo_db): Import the
"enabled" flag. Note that this is not bothered with in the _pbag
function, because that's from the Proxy settings, which is only
used for the GUI capplet, which always sets enabled to True, because
this is a hacker-only option. Got it?
2001-07-26 Bradford Hovinen <hovinen@ximian.com>
* applier.c (applier_apply_prefs): Don't try to load the wallpaper
if it's not enabled
* preferences.c (preferences_new_from_bonobo_pbag): Use
bonobo_property_editor_client_get_value_*
(preferences_new_from_bonobo_pbag): Set gradient_enabled properly
from property bag
(preferences_new_from_bonobo_pbag): Check for wallpaper == "(none)"
(preferences_new_from_bonobo_db): Ditto above
2001-07-26 Bradford Hovinen <hovinen@ximian.com>
* applier.c (renderer_render_wallpaper): Restore some lost tweaks
from earlier.
* preferences.c (preferences_init): strdup the home directory
* applier.c: Store preview widget in the renderer, not the applier
itself
2001-07-26 Richard Hestilow <hestilow@ximian.com>
* applier.c: Remove all bonobo-conf stuff.
* preferences.[ch]: New functions preferences_new_from_bonobo_pbag
and preferences_new_from_bonobo_db.
2001-07-19 Bradford Hovinen <hovinen@ximian.com>
* applier.c (get_geometry): Use vwidth and vheight rather than
dwidth and dheight when computing aspect ratio
(get_geometry): Adjust rwidth and rheight according to above change
* preferences.c (preferences_changed): Disable auto-apply
* background-properties.glade: Remove apply automatically check
button; change "More Solid" to "More Opaque"
2001-04-27 Bradford Hovinen <hovinen@ximian.com>
* capplets/wm-properties/wm-list.c (wm_read_from_xml): Make
desktop-entry an attribute rather than a child node
* capplets/*/main.c: Do not try to load preferences from XML if
there was not XML data
2001-01-24 Bradford Hovinen <hovinen@ximian.com>
* capplets/new-background-properties/preferences.c
(preferences_read_xml): Fix typo in adjust-opacity part
* capplets/new-background-properties/main.c (do_set_xml): Apply
preferences as well as saving them
This contains:
* a few capplets were redone UI wise:
ui-properties
keyboard
background-properties
* splitting of libcapplet out of this modules (into libcapplet)
* new html-based view in the control-center
* initial import of functional root-manager
This stuff isn't all done yet, but I wanted to get it in.
TODO files will hopefully follow.
2000-12-18 Bradford Hovinen <hovinen@helixcode.com>
* capplets/new-background-properties/applier.c
(renderer_render_wallpaper): Change the meaning of brightness to
mean opacity
(tile_composite): Implement
(render_gradient_p): Return TRUE if the opacity should be adjusted
* capplets/new-background-properties/prefs-widget.c: Change
instances of brightness to refer to opacity
* capplets/new-background-properties/preferences.c: Ditto
2000-12-17 Bradford Hovinen <hovinen@helixcode.com>
* capplets/new-background-properties/preferences.c
(preferences_load):
(preferences_save): Use string rather than bool for auto_apply
2000-12-17 Bradford Hovinen <hovinen@helixcode.com>
* capplets/new-background-properties/preferences.c
(preferences_changed): Increased delay before autoapply
* capplets/new-background-properties/prefs-widget.c
(auto_apply_toggled_cb): Implement
(read_preferences):
(prefs_widget_init): Support auto_apply
* capplets/new-background-properties/preferences.h (struct
_Preferences): Add auto_apply
* capplets/new-background-properties/preferences.c
(preferences_write_xml):
(preferences_read_xml):
(preferences_load):
(preferences_save): Support auto_apply
* capplets/new-background-properties/applier.c (struct _Renderer):
Added srcx, srcy to clip wallpaper when it is too big
(get_geometry): Set srcx and srcy
(renderer_render_to_screen): Tweak rendering geometry to stay
within the wallpaper area on the drawable
* capplets/new-background-properties/prefs-widget.c
(wallpaper_entry_changed_cb): Make sure the file specified is
actually a file
* capplets/new-background-properties/main.c (do_set_xml): Default
NULL for buffer