[nautilus] icon-canvas-item: remove an useless snippet of drawing code



commit 09f0b79d854b00469410e2466897df6db5b4d51d
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Jan 20 12:50:05 2011 +0100

    icon-canvas-item: remove an useless snippet of drawing code

 libnautilus-private/nautilus-icon-canvas-item.c |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/libnautilus-private/nautilus-icon-canvas-item.c b/libnautilus-private/nautilus-icon-canvas-item.c
index 1502379..606e842 100644
--- a/libnautilus-private/nautilus-icon-canvas-item.c
+++ b/libnautilus-private/nautilus-icon-canvas-item.c
@@ -1167,19 +1167,6 @@ draw_label_text (NautilusIconCanvasItem *item,
 			    text_rect.y0,
 			    is_rtl_label_beside ? text_rect.x1 - text_rect.x0 - item->details->text_dx : text_rect.x1 - text_rect.x0,
 			    text_rect.y1 - text_rect.y0);
-	} else if (!needs_highlight && !details->is_renaming &&
-		   (details->is_prelit ||
-		    details->is_highlighted_as_keyboard_focus)) {
-		/* clear the underlying icons, where the text or overlaps them. */
-                cairo_save (cr);
-                cairo_set_source_rgba (cr, 0, 0, 0, 0);
-                cairo_rectangle (cr,
-                                 text_rect.x0,
-                                 text_rect.y0,
-                                 text_rect.x1 - text_rect.x0,
-                                 text_rect.y1 - text_rect.y0);
-                cairo_fill (cr);
-                cairo_restore (cr);
 	}
 
 	if (container->details->label_position == NAUTILUS_ICON_LABEL_POSITION_BESIDE) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]