Commit graph

12 commits

Author SHA1 Message Date
Bradford Hovinen
6c78ff23c8 Use vwidth and vheight rather than dwidth and dheight when computing
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-07-19 14:44:47 +00:00
Bradford Hovinen
a7fa858b61 Handle --get-defaults (do_restore_from_defaults): Implement
2001-05-03  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/*/main.c (main): Handle --get-defaults
	(do_restore_from_defaults): Implement

	* capplets/*/preferences.c (preferences_init): Load default values
2001-05-04 00:05:14 +00:00
Bradford Hovinen
fc7487ef4f Make desktop-entry an attribute rather than a child node
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-04-29 16:22:27 +00:00
Bradford Hovinen
9bf1996a30 Support --location
2001-04-24  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/*/main.c:
	* capplets/*/preferences.c: Support --location

	* capplets/Makefile.am: Compile in screensaver properties
2001-04-25 01:00:46 +00:00
Bradford Hovinen
45c0705006 Fix call to location_store_xml
2001-03-12  Bradford Hovinen  <hovinen@ximian.com>

	* main.c (store_archive_data): Fix call to location_store_xml
2001-03-13 03:16:08 +00:00
Bradford Hovinen
d2d4f6c4f1 Fix typo in adjust-opacity part
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
2001-01-25 15:25:18 +00:00
Jacob Berkman
d42affc965 Merging of my tree.
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-26 19:41:33 +00:00
Bradford Hovinen
749b0a33a3 Change the meaning of brightness to mean opacity (tile_composite):
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-18 15:09:36 +00:00
Bradford Hovinen
480213cab5 Add support for adjusting wallpaper brightness
2000-12-17  Bradford Hovinen  <hovinen@helixcode.com>

	* capplets/new-background-properties/applier.c
	(renderer_render_wallpaper): Add support for adjusting wallpaper
	brightness

	* capplets/new-background-properties/main.c (ok_cb):
	(cancel_cb): Disconnect ok, cancel handler signals before
	destroying preferences widget
	(setup_capplet_widget): Set signal handler ids for ok, cancel
	signals

	* capplets/new-background-properties/prefs-widget.c
	(prefs_widget_init): Connect signals for adjusting brightness
	(adjust_brightness_toggled_cb):
	(brightness_adjust_changed_cb):
	(set_brightness_controls_sensitive): Implement

	* capplets/new-background-properties/preferences.h (struct
	_Preferences): Add adjust_brightness, brightness_value

	* capplets/new-background-properties/preferences.c (preferences_load):
	(preferences_save):
	(preferences_read_xml):
	(preferences_write_xml): Support adjust_brightness, brightness_value

	* capplets/new-background-properties/prefs-widget.c
	(wallpaper_entry_changed_cb): Don't fail if prefs is NULL, just
	return

	* capplets/new-background-properties/main.c (ok_cb):
	(cancel_cb): Properly destroy the preferences widget

	* capplets/new-background-properties/prefs-widget.c
	(prefs_widget_destroy): Implement
2000-12-18 00:34:29 +00:00
Bradford Hovinen
394501074b Use string rather than bool for auto_apply
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 21:50:45 +00:00
Bradford Hovinen
8d8010f252 Increased delay before autoapply
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
2000-12-17 21:44:20 +00:00
Bradford Hovinen (Gdict maintainer)
818c4291c1 Created new background properties capplet, under new-background-properties 2000-09-09 23:21:28 +00:00