CVSROOT:        /cvs/gnome
Module name:    nautilus
Changes by:     alexl   06/02/27 08:16:05

Modified files:
        .              : ChangeLog 
        libnautilus-private: nautilus-icon-container.c 

Log message:
2006-02-27  Federico Mena Quintero  <[EMAIL PROTECTED]>

* 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.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=nautilus&who=alexl&date=explicit&mindate=2006-02-27%2008:15&maxdate=2006-02-27%2008:17

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to