[nautilus] icon-container: use the fade out effect for rubberbanding



commit 6b03a56dbd932de2b274bf61f78ae12f4ed7da0b
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Feb 1 12:24:31 2011 -0500

    icon-container: use the fade out effect for rubberbanding

 libnautilus-private/nautilus-icon-container.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libnautilus-private/nautilus-icon-container.c b/libnautilus-private/nautilus-icon-container.c
index 421b02b..f1e6d72 100644
--- a/libnautilus-private/nautilus-icon-container.c
+++ b/libnautilus-private/nautilus-icon-container.c
@@ -2715,7 +2715,7 @@ stop_rubberbanding (NautilusIconContainer *container,
 
 	/* Destroy this canvas item; the parent will unref it. */
 	eel_canvas_item_ungrab (band_info->selection_rectangle, time);
-	eel_canvas_item_destroy (band_info->selection_rectangle);
+	nautilus_selection_canvas_item_fade_out (NAUTILUS_SELECTION_CANVAS_ITEM (band_info->selection_rectangle));
 	band_info->selection_rectangle = NULL;
 
 	/* if only one item has been selected, use it as range



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