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
2005-05-08 Richard Hoelscher <rah@rahga.com>
* applier.c (refresh_render): Remove egg_pixbuf_new_from_file_at_size,
using the gtk+-2.6 function for this instead.
Fixes#169757
2004-03-11 Chris Lahey <clahey@rigger.boston.ximian.com>
* gnome-settings-background.c (applier_idle): Made this delay by a
tenth of a second. This seems to make it not reload the
background more than once.
2004-03-12 Chris Lahey <clahey@rigger.boston.ximian.com>
* applier.c (refresh_render): Move the image reload into a separate function.
(size_changed_cb): Handle screen resolution changes.
2004-03-11 Chris Lahey <clahey@rigger.boston.ximian.com>
* applier.c (bg_applier_apply_prefs): If the image is going to be
scaled or stretched, load it at the size it's going to be
displayed.
(need_wallpaper_load_p): If the wallpaper type changed, unless it
changed between TILED and CENTERED, we need to reload the image.
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
Mon Jun 2 13:35:49 2003 Jonathan Blandford <jrb@redhat.com>
* preview-file-selection.c
(preview_file_selection_intelligent_scale): scaling fix. Patch
from Marcus Matèrn <marcus.matern@safecareab.com>, #113816
2002-07-27 Mark McLoughlin <mark@skynet.ie>
* configure.in: add check for gtk+ with multihead
support and define HAVE_GTK_MULTIHEAD if found.
2002-07-27 Mark McLoughlin <mark@skynet.ie>
Add support for rendering the wallpaper on
a particular physical screen.
* applier.[ch]:
(bg_applier_init): init screen and root_window.
(bg_applier_class_init), (bg_applier_set_prop),
(bg_applier_get_prop): add "screen" property.
(bg_applier_new_for_screen): implement.
(render_wallpaper), (render_to_screen),
(create_pixmap), (wallpaper_full_cover_p): use the
screen and root window information.
(make_root_pixmap): add a GdkScreen arg, actually
use the display we opened, use the correct root
window and not the default one
(set_root_pixmap): add a GdkScreen arg, use the
default display, use the correct root window.
2002-05-31 Damon Chaplin <damon@ximian.com>
* applier.c (bg_applier_apply_prefs): don't call set_root_pixmap() at
all if nautilus is running. It didn't do anything in this case anyway.
Removed the nice(20). A library function shouldn't do this. If
gnome-settings-daemon wants to be niced then it should do it in main()
or something like that.
(set_root_pixmap): do a final check to see if nautilus is running
before setting the pixmap.
Fixes part of #74311.
2002-05-21 jacob berkman <jacob@ximian.com>
* applier.c (render_to_screen): use a gc for the pixmap not the
root window
(bg_applier_get_preview_widget): don't create the pixmap until we
are realized
(make_root_pixmap): use gdk_get_display(), not getenv ("DISPLAY"),
and set the colormap for our GdkPixmap so we can draw on it
(preview_realized_cb): create the pixmap here, and set it on our
GtkImage
fixes#73496