diff options
author | Jeremy Messenger <mezz@FreeBSD.org> | 2006-11-16 17:52:49 +0000 |
---|---|---|
committer | Jeremy Messenger <mezz@FreeBSD.org> | 2006-11-16 17:52:49 +0000 |
commit | 7858e3647115a58b609e480aed20cf9c7e0e08b3 (patch) | |
tree | d1228464516b453c43b46ac3c8896ae6ad0e80e3 /x11-fm | |
parent | ad039920bb5f42789c23344df209693f36aa894d (diff) | |
download | ports-7858e3647115a58b609e480aed20cf9c7e0e08b3.tar.gz ports-7858e3647115a58b609e480aed20cf9c7e0e08b3.zip |
Notes
Diffstat (limited to 'x11-fm')
-rw-r--r-- | x11-fm/nautilus/Makefile | 1 | ||||
-rw-r--r-- | x11-fm/nautilus/files/patch-fix-desktop-icon-position | 25 |
2 files changed, 26 insertions, 0 deletions
diff --git a/x11-fm/nautilus/Makefile b/x11-fm/nautilus/Makefile index 4a95ff6aecbc..e7d7e3189343 100644 --- a/x11-fm/nautilus/Makefile +++ b/x11-fm/nautilus/Makefile @@ -8,6 +8,7 @@ PORTNAME= nautilus PORTVERSION= 2.16.2 +PORTREVISION= 1 CATEGORIES= x11-fm gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} diff --git a/x11-fm/nautilus/files/patch-fix-desktop-icon-position b/x11-fm/nautilus/files/patch-fix-desktop-icon-position new file mode 100644 index 000000000000..935864c5d13a --- /dev/null +++ b/x11-fm/nautilus/files/patch-fix-desktop-icon-position @@ -0,0 +1,25 @@ +--- 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 |