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-03-04 Rodney Dawes <dobey@ximian.com>
* background-properties-capplet.c:
* background-properties.glade:
* background-properties.glade1:
* background-properties.xml: Removed these old files from the old
background capplet
2004-03-04 Rodney Dawes <dobey@ximian.com>
* gnome-wp-capplet.c (gnome_wp_add_image): Select the added image, and
change the scaling type to "wallpaper" if it is "none" (#136228)
Fixes#136228
2004-02-29 Rodney Dawes <dobey@ximian.com>
* gnome-wp-capplet.c (gnome_wp_add_image): Split out real image adding
code into a separate call
(gnome_wp_add_images):
(gnome_wp_file_open_dialog):
(gnome_wp_properties_init): Add support for GtkFileChooser (#135317)
(bg_properties_dragged_image): Fix re-addition of deleted images
* gnome-wp-capplet.h: Store the filesel widget in GnomeWPCapplet
* gnome-wp-item.c: Fix warning about gnome_vfs_mime_get_description
Fixes#135317
2004-02-24 Rodney Dawes <dobey@ximian.com>
* gnome-wp-xml.c (gnome_wp_oad_legacy): Check that the file exists,
and continue through the loop if it doesn't (#135251)
Fixes#135251
2004-02-24 Rodney Dawes <dobey@ximian.com>
* gnome-wp-item.c (gnome_wp_item_get_thumbnail): Add some explanatory
comments to bits of the code
Fix the ratio calculation to handle images of all sizes (#134541)
Don't force tiling of square images
Don't do _save_thumbnail () for the custom thumbnails
If pixbuf is NULL, copy away bgpixbuf and return that instead
* gnome-wp-utils.c (gnome_wp_tile_pixbuf):
(gnome_wp_center_pixbuf): Return copied pixbufs
Fixes#134541
2004-02-17 Rodney Dawes <dobey@ximian.com>
* gnome-background-properties.glade: Use untranslated strings for
the color picker dialog titles (glade bug set them to the translated
versions of the strings)
Fixes#134171
2003-11-27 Muktha <muktha.narayan@wipro.com>
* main.c: Do not popup the logout dialog when the close button (X) of
window manager is clicked. Fixes bug #124032.
2004-02-16 Jody Goldberg <jody@gnome.org>
* accessibility-keyboard.c (cb_load_CDE_file) : Add a kludge to set
the vertical size based on the monitor size until the filesel can do
a better job of doing it itself.
2003-12-07 Jan Arne Petersen <jpetersen@uni-bonn.de>
* accessibility-keyboard.c: (load_CDE_file),
(fchooser_handle_response), (cb_load_CDE_file): replace
GtkFileSelection with GtkFileChooser.
2003-12-07 Jan Arne Petersen <jpetersen@uni-bonn.de>
* background-properties-capplet.c: remove unused
"preview_file_selection.h" include.
2004-02-16 Jody Goldberg <jody@gnome.org>
* gconf-property-editor.c (peditor_image_clicked_cb) : Use the monitor
size kludge for the vertical size of the new file selector.
2003-12-07 Jan Arne Petersen <jpetersen@uni-bonn.de>
* gconf-property-editor.c: (peditor_image_set_filename),
(peditor_image_chooser_response_cb),
(peditor_image_chooser_update_preview_cb),
(peditor_image_clicked_cb): replace
PreviewFileSelection (GtkFileSelection) with GtkFileChooser, use new
gdk_pixbuf_new_from_file_at_size method to load a scaled image.
2004-02-16 Jody Goldberg <jody@gnome.org>
* gnome-settings-accessibility-keyboard.c : include
libgnome/gnome-help.h to avoid potential crash on 64 bit arches.
(ax_response_callback) : actually display the error message on
failure.
2004-02-16 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=134389
* Makefile.am : Patch from jmmv@menta.net (Julio M. Merino Vidal)
to honour the standard schema install flags.
I've extended the patch to support builddir != srcdir too
2004-02-12 Mark McLoughlin <mark@skynet.ie>
* capplets/display/main.c: (cb_dialog_response):
* capplets/localization/gnome-localization-properties.c:
(dialog_response): update help links to point to user-guide.xml
2004-02-04 Rodney Dawes <dobey@ximian.com>
* background.desktop.in: Use "Desktop Background" as name and change
the Comment line to a verb phrase as per the HIG
* gnome-wp-capplet.c (gnome_wp_load_stuffs): Fix a little bug so that
opening the capplet with "No Wallpaper" set, actually works
(wallpaper_properties_init): "Desktop Background Preferences"
2004-02-01 Rodney Dawes <dobey@ximian.com>
* Makefile.am: Switch the binary name to gnome-background-properties,
Based on patch from Seth Nickell
* background.desktop.in: Use gnome-background-properties here also,
based on patch from Seth Nickell
* gnome-wp-capplet.c: Fix a bug where you can't re-add a wallpaper
after you remove it
Use the new gnome_wp_item_update_description () call
Use a GConfChangeSet to change the gconf keys, based on a patch
from Seth Nickell
Select the first item in the list ("No Wallpaper") when the wallpaper
is removed, based on a patch from Seth Nickell
Do the rc string parsing before creating the window, and change some
defaults so we can fix the spacing between widgets and the border
Fix spacing between widgets and window border
* gnome-wp-item.[ch]: Add update_description function to clean up
code, based on patch from Seth Nickell
Fix a crash when trying to thumbnail very wide images that are very
short, while trying to maintain aspect ratio
* gnome-wp-xml.c: Use backgrounds.xml instead of wp-list.xml, and
migrate the old wp-list.xml over if backgrounds.xml doesn't exist
yet, based on patch from Seth Nickell
2004-01-12 Jody Goldberg <jody@gnome.org>
* Makefile.am : As long as we're hard coding the path hard code it in
only one place. Passing in datadir then adding the magic subdir in
C then building in Makefile seems unnecessary.
Use GNOMECC_CAPPLETS_*
2003-08-01 Dennis Cranston <dennis_cranston at yahoo com>
* background-properties-capplet.c, background-properties.glade:
Patch to fix spacing between action area and vbox of preferences
dialog.
2003-07-17 Dennis Cranston <dennis_cranston at yahoo com>
* background-properties.glade,
background-properties-capplet.c: Fixes for ui-review
bug report #98916 and duplicate mnemonic fixes.
2002-11-13 Pasupathi Duraisamy <pasupathi.duraisamy@wipro.com>
* background-properties-capplet.c (drag_data_received_cb):
Reset Picture option to "Wall paper" only in the case of
"none" while DnD. Fixes#94329