diff options
author | Federico Mena Quintero <federico@novell.com> | 2006-02-27 13:16:04 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2006-02-27 13:16:04 +0000 |
commit | 5c26052904de120df9ab7d2a9da11a3b06b53c72 (patch) | |
tree | 11a0b2f27f0456f79aa11b7c77e42998b17180f0 /ChangeLog | |
parent | 19b38f50b918e4f504f8df75d831d42552538fb8 (diff) | |
download | nautilus-5c26052904de120df9ab7d2a9da11a3b06b53c72.tar.gz |
Do not place icons both in the no_position_icons and semi_position_icons
2006-02-27 Federico Mena Quintero <federico@novell.com>
* libnautilus-private/nautilus-icon-container.c
(finish_adding_new_icons): Do not place icons both in the
no_position_icons and semi_position_icons lists!
(snap_position): The final *x could be negative if (start_x + icon_width / 2)
is less than SNAP_SIZE_X, as SNAP_NEAREST_HORIZONTAL() would
return DESKTOP_PAD_HORIZONTAL. Then, we would subtract icon_width / 2,
getting a negative number. So, we initially test for this and
start that the first snap column. The same reasoning applies to
*y and the baseline.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,15 @@ +2006-02-27 Federico Mena Quintero <federico@novell.com> + + * libnautilus-private/nautilus-icon-container.c + (finish_adding_new_icons): Do not place icons both in the + no_position_icons and semi_position_icons lists! + (snap_position): The final *x could be negative if (start_x + icon_width / 2) + is less than SNAP_SIZE_X, as SNAP_NEAREST_HORIZONTAL() would + return DESKTOP_PAD_HORIZONTAL. Then, we would subtract icon_width / 2, + getting a negative number. So, we initially test for this and + start that the first snap column. The same reasoning applies to + *y and the baseline. + 2006-02-27 Alexander Larsson <alexl@redhat.com> * src/nautilus-navigation-window.c: |