summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-thumbnails.c
diff options
context:
space:
mode:
authorDarin Adler <darin@src.gnome.org>2001-06-06 19:01:17 +0000
committerDarin Adler <darin@src.gnome.org>2001-06-06 19:01:17 +0000
commitdcfc0e1c4b3953959fc8ce070e3fd69cb4012034 (patch)
treec0247d9a8ab026eea06e513d4fcbe4362f055b6b /libnautilus-private/nautilus-thumbnails.c
parent6e38a7a46638d85ec958e151a260e96cd8a30a90 (diff)
downloadnautilus-dcfc0e1c4b3953959fc8ce070e3fd69cb4012034.tar.gz
Frederic Devernay <Frederic.Devernay@sophia.inria.fr>
pointed out that the icon factory wasn't following links. I found similar problems elsewhere. * components/music/nautilus-music-view.c: (nautilus_music_view_update): * libnautilus-private/nautilus-customization-data.c: (nautilus_customization_data_new), (nautilus_customization_data_get_next_element_for_display): * libnautilus-private/nautilus-icon-factory.c: (path_represents_svg_image): * libnautilus-private/nautilus-metafile.c: (metafile_read_check_for_directory): * libnautilus-private/nautilus-thumbnails.c: (first_file_more_recent): * src/nautilus-link-set-window.c: (get_link_set_names), (nautilus_link_set_configure_window): * src/nautilus-property-browser.c: (ensure_uri_is_image): Updated all places where we were using the gnome-vfs file info calls and not following links.
Diffstat (limited to 'libnautilus-private/nautilus-thumbnails.c')
-rw-r--r--libnautilus-private/nautilus-thumbnails.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libnautilus-private/nautilus-thumbnails.c b/libnautilus-private/nautilus-thumbnails.c
index d166bd533..12c0fafb3 100644
--- a/libnautilus-private/nautilus-thumbnails.c
+++ b/libnautilus-private/nautilus-thumbnails.c
@@ -207,7 +207,7 @@ make_thumbnail_uri (const char *image_uri, gboolean directory_only, gboolean use
/* utility routine that takes two uris and returns true if the first file has been modified later than the second */
/* FIXME bugzilla.eazel.com 2565: it makes synchronous file info calls, so for now, it returns FALSE if either of the uri's are non-local */
static gboolean
-first_file_more_recent(const char* file_uri, const char* other_file_uri)
+first_file_more_recent (const char* file_uri, const char* other_file_uri)
{
gboolean more_recent;
@@ -220,10 +220,10 @@ first_file_more_recent(const char* file_uri, const char* other_file_uri)
/* gather the info and then compare modification times */
file_info = gnome_vfs_file_info_new ();
- gnome_vfs_get_file_info (file_uri, file_info, GNOME_VFS_FILE_INFO_DEFAULT);
+ gnome_vfs_get_file_info (file_uri, file_info, GNOME_VFS_FILE_INFO_FOLLOW_LINKS);
other_file_info = gnome_vfs_file_info_new ();
- gnome_vfs_get_file_info (other_file_uri, other_file_info, GNOME_VFS_FILE_INFO_DEFAULT);
+ gnome_vfs_get_file_info (other_file_uri, other_file_info, GNOME_VFS_FILE_INFO_FOLLOW_LINKS);
more_recent = file_info->mtime > other_file_info->mtime;