summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-background.c
diff options
context:
space:
mode:
authorAndy Hertzfeld <andy@src.gnome.org>2000-06-30 21:32:34 +0000
committerAndy Hertzfeld <andy@src.gnome.org>2000-06-30 21:32:34 +0000
commit146d22d5ce51e654782793c15cdb09cc40b5edea (patch)
tree92b13ee3a9df88366195217a80027b5525905a14 /libnautilus-private/nautilus-background.c
parent3f4115d6e9d1061c18790f84016a2f61b7352835 (diff)
downloadnautilus-146d22d5ce51e654782793c15cdb09cc40b5edea.tar.gz
eliminated the toolbar icon theme and associated widgetry in preferences.
eliminated the toolbar icon theme and associated widgetry in preferences. Instead, we use the general theming machinery to select toolbar icons.
Diffstat (limited to 'libnautilus-private/nautilus-background.c')
-rw-r--r--libnautilus-private/nautilus-background.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libnautilus-private/nautilus-background.c b/libnautilus-private/nautilus-background.c
index b1c9584ba..4b2cb1ee4 100644
--- a/libnautilus-private/nautilus-background.c
+++ b/libnautilus-private/nautilus-background.c
@@ -179,7 +179,7 @@ nautilus_background_new (void)
}
/* this routine is for gdk style rendering, which doesn't naturally support transparency, so we
- draw into a pixbuf offscreen if necessary (coming soon */
+ draw into a pixbuf offscreen if necessary */
void
nautilus_background_draw (NautilusBackground *background,
@@ -225,6 +225,9 @@ nautilus_background_draw (NautilusBackground *background,
return;
}
+ /* handle the normal, uncombined mode by prefering a tile if we have one but
+ otherwise using the background color */
+
if (background->details->tile_image != NULL) {
nautilus_gdk_pixbuf_render_to_drawable_tiled (background->details->tile_image,
drawable,