nautilus-03-ftp-rename.diff revision 9802
20802N/A--- nautilus-2.10.1/libnautilus-private/nautilus-bookmark.c 2004-11-29 22:09:31.000000000 +0530
20802N/A+++ nautilus-2.10.1-new/libnautilus-private/nautilus-bookmark.c 2005-05-26 14:08:54.670049048 +0530
20802N/A@@ -25,6 +25,7 @@
20802N/A #include <config.h>
9802N/A #include "nautilus-bookmark.h"
9802N/A
9802N/A+#include "nautilus-file-private.h"
20802N/A #include "nautilus-icon-factory.h"
20802N/A #include <eel/eel-gdk-pixbuf-extensions.h>
20904N/A #include <eel/eel-gtk-extensions.h>
20904N/A@@ -534,10 +535,18 @@ nautilus_bookmark_uri_known_not_to_exist
20904N/A {
20904N/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. */
9802N/A path_name = gnome_vfs_get_local_path_from_uri (bookmark->details->uri);
9802N/A if (path_name == NULL) {
12796N/A+ /* It's a remote file, check for its existence. */
12796N/A+ file = nautilus_file_get_existing (bookmark->details->uri);
12125N/A+ if (file == NULL) {
9802N/A+ /* Remote file does not exist, so return TRUE */
12796N/A+ return TRUE;
9802N/A+ }
12796N/A+ nautilus_file_unref (file);
9802N/A return FALSE;
9802N/A }
9802N/A
12796N/A