summaryrefslogtreecommitdiff
path: root/src/nautilus-canvas-container.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nautilus-canvas-container.c')
-rw-r--r--src/nautilus-canvas-container.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nautilus-canvas-container.c b/src/nautilus-canvas-container.c
index 7f95ba116..69140c878 100644
--- a/src/nautilus-canvas-container.c
+++ b/src/nautilus-canvas-container.c
@@ -6760,8 +6760,10 @@ finish_adding_new_icons (NautilusCanvasContainer *container)
icon = p->data;
if (icon->has_lazy_position)
{
- assign_icon_position (container, icon);
- semi_position_icons = g_list_prepend (semi_position_icons, icon);
+ if (!assign_icon_position (container, icon))
+ {
+ semi_position_icons = g_list_prepend (semi_position_icons, icon);
+ }
}
else if (!assign_icon_position (container, icon))
{