head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	2006.11.20.14.26.41;	author ahze;	state dead;
branches;
next	1.1;

1.1
date	2006.11.16.17.52.49;	author mezz;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Update to 2.16.3
@
text
@--- src/file-manager/fm-icon-view.c.orig	2006-11-14 16:35:04.304162544 +0000
+++ src/file-manager/fm-icon-view.c	2006-11-14 16:51:02.820445920 +0000
@@@@ -531,12 +531,20 @@@@
 file_has_lazy_position (FMDirectoryView *view,
 			NautilusFile *file)
 {
+	gboolean lazy_position;
+
 	/* For volumes (i.e. cdrom icon) we use lazy positioning so that when
 	 * an old cdrom gets re-mounted in a place that now has another
 	 * icon we don't overlap that one.
 	 */
-
-	return NAUTILUS_IS_DESKTOP_ICON_FILE (file);
+	lazy_position = nautilus_file_has_volume (file);
+	if (lazy_position && fm_directory_view_get_loading (view)) {
+		/* if volumes are loaded during directory load, don't mark them
+		 * as lazy. This is wrong for files that were mounted during user
+		 * log-off, but it is right for files that were mounted during login. */
+		lazy_position = FALSE;
+	}
+	return lazy_position;
 }
 
 static void
@


1.1
log
@Add a patch fo fix the desktop icons(computer,home,trash)'s position that
couldn't load from ~/.nautilus/metafiles/. This patch was took from in this
bugzilla by Luis Medinas. Bump the PORTREVISION.

Reviewed by:	marcus
Reported by:	a few of people in freebsd-gnome both mailing list and IRC
Bugzilla:	http://bugzilla.gnome.org/show_bug.cgi?id=373895
@
text
@@

