gnome-control-center/capplets/background
Rodney Dawes 00006d7745 Regenerate the thumbnail in the list when we change scaling type now
2004-04-05  Rodney Dawes  <dobey@ximian.com>

	* gnome-wp-capplet.c (gnome_wp_scale_type_changed): Regenerate the
	thumbnail in the list when we change scaling type now
	(wallpaper_properties_init): Add GtkFileFilter support (needs love)
	TreeView is buggy, so we need to not set the vertical-separator
	style property for it
	* gnome-wp-item.c: Include <config.h> and <gnome.h> here
	(collect_save_options): Add a function to set all of the pixbuf options
	for the thumbnail pixbuf properly, so we can save them back out
	(gnome_wp_item_get_thumbnail): Fix up the code to
	generate the thumbnails for the list a bit, so that we have sexy
	thumbnails that look exactly like how the image would, on-screen
	Initialize all of the width/height variables to 0
	Add a new pixbuf variable for loading the original image to get the
	dimensions of it, so we can do thumbnailing more properly
	Use a LIST_IMAGE_WIDTH define, for the width of the images in the list
	Just return the bgpixbuf if we are creating the "No Wallpaper" thumb
	Save the thumbnail back out with the dimensions for the original image
	If our image is smaller than the list thumbnail, then just use 1.0 as
	the ratio for scaling the image for tiling/etc...
	Use the new API to do scaling inside the center/tile functions
	Reload the thumbnail pixbuf after generating it with the thumbnail
	system, so that we get all of the pixbuf options set correctly
	* gnome-wp-item.h (GnomeWPItem): store the original image's width
	and height in the item, so we can avoid reopening the original image
	every time we generate the thumbnail, on systems where the thumbnail
	doesn't contain the appropriate information
	* gnome-wp-utils.c (gnome_wp_pixbuf_tile):
	(gnome_wp_pixbuf_center): Add API to do the scaling inside these calls

	Fixes #136691
2004-04-05 21:32:02 +00:00
..
.cvsignore Update for new capplet Update Name/Comment/Exec entries 2004-01-12 05:10:40 +00:00
background.desktop.in Use "Desktop Background" as name and change the Comment line to a verb 2004-02-04 22:04:14 +00:00
ChangeLog Regenerate the thumbnail in the list when we change scaling type now 2004-04-05 21:32:02 +00:00
gnome-background-properties.glade Use untranslated strings for the color picker dialog titles (glade bug set 2004-02-17 19:30:14 +00:00
gnome-wp-capplet.c Regenerate the thumbnail in the list when we change scaling type now 2004-04-05 21:32:02 +00:00
gnome-wp-capplet.h Split out real image adding code into a separate call 2004-03-01 04:09:06 +00:00
gnome-wp-info.c Escape the path for thumbnails and fileinfo (#135089) 2004-02-24 20:51:35 +00:00
gnome-wp-info.h Update for new capplet Update Name/Comment/Exec entries 2004-01-12 05:10:40 +00:00
gnome-wp-item.c Regenerate the thumbnail in the list when we change scaling type now 2004-04-05 21:32:02 +00:00
gnome-wp-item.h Regenerate the thumbnail in the list when we change scaling type now 2004-04-05 21:32:02 +00:00
gnome-wp-utils.c Regenerate the thumbnail in the list when we change scaling type now 2004-04-05 21:32:02 +00:00
gnome-wp-utils.h Regenerate the thumbnail in the list when we change scaling type now 2004-04-05 21:32:02 +00:00
gnome-wp-xml.c Check that the file exists, and continue through the loop if it doesn't 2004-02-24 19:49:58 +00:00
gnome-wp-xml.h Update for new capplet Update Name/Comment/Exec entries 2004-01-12 05:10:40 +00:00
Makefile.am Convert the main dialog UI to glade 2004-02-05 00:31:48 +00:00