summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@novell.com>2006-02-27 13:16:04 +0000
committerAlexander Larsson <alexl@src.gnome.org>2006-02-27 13:16:04 +0000
commit5c26052904de120df9ab7d2a9da11a3b06b53c72 (patch)
tree11a0b2f27f0456f79aa11b7c77e42998b17180f0 /ChangeLog
parent19b38f50b918e4f504f8df75d831d42552538fb8 (diff)
downloadnautilus-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--ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 826891a27..de2dac2f8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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: