Commit afd9a1fa authored by Federico Mena Quintero's avatar Federico Mena Quintero Committed by Alexander Larsson
Browse files

Fix the volumes part of bug #45953:

2005-11-07  Federico Mena Quintero  <federico@ximian.com>

       Fix the volumes part of bug #45953:

       * libnautilus-private/nautilus-icon-container.c
       (finish_adding_new_icons): First, call assign_icon_position().
       Then, don't ignore the fact that the icon may have a lazy
       position; check the icon->has_lazy_position flag even after
       retrieving its stored position.  If the flag is turned on, defer
       the icon to the semi_position_icons list.
parent e755aa20
2005-11-07 Federico Mena Quintero <federico@ximian.com>
Fix the volumes part of bug #45953:
* libnautilus-private/nautilus-icon-container.c
(finish_adding_new_icons): First, call assign_icon_position().
Then, don't ignore the fact that the icon may have a lazy
position; check the icon->has_lazy_position flag even after
retrieving its stored position. If the flag is turned on, defer
the icon to the semi_position_icons list.
2005-11-14 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-icon-canvas-item.c: (draw_frame):
......
......@@ -5629,8 +5629,9 @@ finish_adding_new_icons (NautilusIconContainer *container)
icon = p->data;
if (!assign_icon_position (container, icon)) {
no_position_icons = g_list_prepend (no_position_icons, icon);
} else if (!container->details->auto_layout &&
icon->has_lazy_position) {
}
if (!container->details->auto_layout && icon->has_lazy_position) {
semi_position_icons = g_list_prepend (semi_position_icons, icon);
}
finish_adding_icon (container, icon);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment