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.
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
2002-04-17 Rachel Hestilow <hestilow@ximian.com>
* applier.c (need_root_pixmap_p): Return TRUE if pixmap is NULL.
(create_pixmap): Only set pixmap if not already set.
2002-04-07 Rachel Hestilow <hestilow@ximian.com>
* applier.c (bg_applier_get_preview_widget): Connect to "realize"
on preview.
(preview_realized_cb): Added function to initialize preview pixmap.
2002-03-28 Richard Hestilow <hestilow@ximian.com>
* applier.c (MONITOR_CONTENTS_WIDTH, MONITOR_CONTENTS_HEIGHT):
Rename to _DEFAULT_WIDTH, _DEFAULT_HEIGHT.
(draw_disabled_message): Accept width and height as variables.
(bg_applier_class_init): Install props preview_width, preview_height.
(bg_applier_set_prop): Accept new size properties, only set to
default width/height on mode PREVIEW if uninitialized.
(bg_applier_new_at_size): Added.
(bg_applier_apply_prefs): Call draw_disabled_message with actual
width/height.
(bg_applier_get_preview_width): Create pixmap based on set size.
2002-03-26 Dave Camp <dave@ximian.com>
* applier.c: (bg_applier_init): Don't initialize
is_nautilus_running here (check it each time in appy_prefs).
(bg_applier_apply_prefs): Don't try to apply the background if
nautilus is running.
2002-02-17 Bradford Hovinen <hovinen@ximian.com>
* applier.c (bg_applier_apply_prefs): Only add the timeout for
cleanup if we are in a root renderer; we don't need it for
preview
2002-02-17 Bradford Hovinen <hovinen@ximian.com>
* applier.c (need_wallpaper_load_p): We need to reload the
wallpaper pixbuf if it is enabled and not loaded
(cleanup_cb): Free bg_applier->p->pixbuf too
2002-02-17 Bradford Hovinen <hovinen@ximian.com>
* applier.c (need_root_pixmap_p): We don't need a root pixmap if
neither a wallpaper nor a gradient is enabled
(render_to_screen): Use set_back_pixmap/set_background when just
setting a color with a root applier
(need_root_pixmap_p): If the last preferences structure had
neither gradient nor wallpaper enabled, we need a new root pixmap
2002-02-07 Richard Hestilow <hestilow@ximian.com>
* applier.c (BGApplierPrivate): Add "timeout" field.
(bg_apply_cleanup_cb): Added.
(bg_applier_apply_prefs): Add/reset timeout for cleanup function
if we load a pixbuf.
2002-01-28 Seth Nickell <snickell@stanford.edu>
* control-center/capplet-dir.c: (capplet_new), (capplet_dir_new),
(capplet_dir_entry_destroy), (read_entries),
(get_root_capplet_dir):
* control-center/capplet-dir.h:
Read control center directory structure out of GnomeVFS instead of
directly off the disk.
Also deal with pixmaps more uniformly, and properly load them
out of PREFIX/share/pixmaps when they aren't an absolute path.
* capplets/desktop-links/Sawfish/appearance-properties.desktop.in:
* capplets/desktop-links/Sawfish/bindings-properties.desktop.in:
* capplets/desktop-links/Sawfish/focus-properties.desktop.in:
* capplets/desktop-links/Sawfish/match-properties.desktop.in:
* capplets/desktop-links/Sawfish/maximize-properties.desktop.in:
* capplets/desktop-links/Sawfish/meta-properties.desktop.in:
* capplets/desktop-links/Sawfish/misc-properties.desktop.in:
* capplets/desktop-links/Sawfish/move-properties.desktop.in:
* capplets/desktop-links/Sawfish/placement-properties.desktop.in:
* capplets/desktop-links/Sawfish/sound-properties.desktop.in:
* capplets/desktop-links/Sawfish/workspace-properties.desktop.in:
* capplets/ui-properties/behavior.desktop.in.in:
Add a Categories Field.
* capplets/desktop-links/Makefile.am:
* capplets/desktop-links/Sawfish/Makefile.am:
* capplets/file-types/Makefile.am:
* capplets/theme-switcher/Makefile.am:
* capplets/ui-properties/Makefile.am:
* control-center/Gnome.directory.in.in:
* control-center/Makefile.am:
Install directory files into PREFIX/share/gnome/vfolders, the standard
vfolder description location.
2001-12-20 Bradford Hovinen <hovinen@ximian.com>
* applier.c (bg_applier_apply_prefs): Disable the wallpaper if we
couldn't load it
(bg_applier_apply_prefs): Create a clone of the preferences
structure first and work off of that
(wallpaper_full_cover_p): Return FALSE if the wallpaper pixbuf is NULL
2001-12-20 Bradford Hovinen <hovinen@ximian.com>
* libbackground/preferences.[ch]: Rename preferences to
bg_preferences to avoid possible namespace collision
* All: Update to reflect the above
2001-12-07 Bradford Hovinen <hovinen@ximian.com>
* applier.c (applier_class_init): Initialize object_class properly
before using it; install property after {get|set}_property are set