[nautilus] icon-canvas-item: set transparent background for highlight
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] icon-canvas-item: set transparent background for highlight
- Date: Thu, 30 Sep 2010 16:52:13 +0000 (UTC)
commit c6860491c432e311d585a6d92443ef821afd46d2
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Sep 30 14:38:25 2010 +0200
icon-canvas-item: set transparent background for highlight
libnautilus-private/nautilus-icon-canvas-item.c | 10 +---------
1 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/libnautilus-private/nautilus-icon-canvas-item.c b/libnautilus-private/nautilus-icon-canvas-item.c
index e92c31f..bec5d27 100644
--- a/libnautilus-private/nautilus-icon-canvas-item.c
+++ b/libnautilus-private/nautilus-icon-canvas-item.c
@@ -1324,8 +1324,7 @@ draw_label_text (NautilusIconCanvasItem *item,
details->is_highlighted_as_keyboard_focus)) {
/* clear the underlying icons, where the text or overlaps them. */
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,
@@ -1333,13 +1332,6 @@ draw_label_text (NautilusIconCanvasItem *item,
text_rect.y1 - text_rect.y0);
cairo_fill (cr);
cairo_restore (cr);
- #if 0
- gdk_window_clear_area (gtk_layout_get_bin_window (&EEL_CANVAS (container)->layout),
- text_rect.x0,
- text_rect.y0,
- text_rect.x1 - text_rect.x0,
- text_rect.y1 - text_rect.y0);
- #endif
}
if (container->details->label_position == NAUTILUS_ICON_LABEL_POSITION_BESIDE) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]