20802N/A--- nautilus-3.1.3/libnautilus-private/nautilus-bookmark.c.orig 2011-04-04 19:01:22.000000000 +0100
20802N/A+++ nautilus-3.1.3/libnautilus-private/nautilus-bookmark.c 2011-07-19 15:02:20.898939378 +0100
20802N/A@@ -28,6 +28,9 @@
20802N/A
9802N/A #include "nautilus-bookmark.h"
9802N/A
9802N/A+#include "nautilus-file-private.h"
20802N/A+#include "nautilus-file.h"
20802N/A+
20904N/A #include <eel/eel-vfs-extensions.h>
20904N/A #include <gio/gio.h>
20904N/A #include <glib/gi18n.h>
20904N/A@@ -646,9 +649,17 @@ nautilus_bookmark_uri_known_not_to_exist
9802N/A {
9802N/A char *path_name;
9802N/A gboolean exists;
9802N/A+ NautilusFile *file;
9802N/A
9802N/A /* Convert to a path, returning FALSE if not local. */
12796N/A if (!g_file_is_native (bookmark->details->location)) {
12796N/A+ /* It's a remote file, check for its existance */
12125N/A+ file = nautilus_file_get_existing (bookmark->details->location);
9802N/A+ if (file == NULL) {
12796N/A+ /* Remote files does not exist, so return TRUE */
9802N/A+ return TRUE;
12796N/A+ }
9802N/A+ nautilus_file_unref (file);
9802N/A return FALSE;
9802N/A }
12796N/A path_name = g_file_get_path (bookmark->details->location);