summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-icon-canvas-item.c
diff options
context:
space:
mode:
authorJasmine Hassan <[email protected]>2012-11-08 02:15:15 +0200
committerJasmine Hassan <[email protected]>2012-11-16 09:45:52 +0200
commitf4babe394d101d2053b3358fcb6bfb489b1e2d58 (patch)
treee6bcc5f8527b42b7d660b8a6441f24aade676f0f /libcaja-private/caja-icon-canvas-item.c
parenteb4866501e0ab9114c3ea459d3d4aa437194d961 (diff)
downloadcaja-f4babe394d101d2053b3358fcb6bfb489b1e2d58.tar.bz2
caja-f4babe394d101d2053b3358fcb6bfb489b1e2d58.tar.xz
[icon-canvas-item] set transparent background for highlight
http://git.gnome.org/browse/nautilus/commit/?id=c6860491c432e311d585a6d92443ef821afd46d2
Diffstat (limited to 'libcaja-private/caja-icon-canvas-item.c')
-rw-r--r--libcaja-private/caja-icon-canvas-item.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libcaja-private/caja-icon-canvas-item.c b/libcaja-private/caja-icon-canvas-item.c
index e8b1762c..eb6f4ffd 100644
--- a/libcaja-private/caja-icon-canvas-item.c
+++ b/libcaja-private/caja-icon-canvas-item.c
@@ -1497,8 +1497,7 @@ draw_label_text (CajaIconCanvasItem *item,
/* clear the underlying icons, where the text or overlaps them. */
#if GTK_CHECK_VERSION(3,0,0)
cairo_save (cr);
- /* FIMXEchpe draw the background here? */
- cairo_set_source_rgb (cr, 1., 1., 1.);
+ cairo_set_source_rgba (cr, 0, 0, 0, 0);
cairo_rectangle (cr,
text_rect.x0,
text_rect.y0,