diff options
author | Dave Camp <dave@ximian.com> | 2002-06-25 19:22:07 +0000 |
---|---|---|
committer | Dave Camp <campd@src.gnome.org> | 2002-06-25 19:22:07 +0000 |
commit | cb4d4395fa73d5323dd65efa79ad48b96a915a13 (patch) | |
tree | fef6e019295d52122ac0a59146940979ca120e8e /src | |
parent | 1e832d842b4b7f203e1294004c4eaf4d539c40de (diff) | |
download | nautilus-cb4d4395fa73d5323dd65efa79ad48b96a915a13.tar.gz |
Use eel_vfs_has_capability() to test for locality of the drop target.
2002-06-25 Dave Camp <dave@ximian.com>
* src/file-manager/fm-icon-view.c (get_icon_drop_target_uri_callback):
Use eel_vfs_has_capability() to test for locality of the drop
target. Fixes #82644.
Diffstat (limited to 'src')
-rw-r--r-- | src/file-manager/fm-icon-view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file-manager/fm-icon-view.c b/src/file-manager/fm-icon-view.c index f773e329e..5a3b26030 100644 --- a/src/file-manager/fm-icon-view.c +++ b/src/file-manager/fm-icon-view.c @@ -1945,7 +1945,7 @@ get_icon_drop_target_uri_callback (NautilusIconContainer *container, /* Check for Nautilus link */ if (nautilus_file_is_nautilus_link (file)) { /* FIXME bugzilla.gnome.org 43020: This does sync. I/O and works only locally. */ - if (nautilus_file_is_local (file)) { + if (!eel_vfs_has_capability (uri, EEL_VFS_CAPABILITY_IS_REMOTE_AND_SLOW)) { target_uri = nautilus_link_local_get_link_uri (uri); if (target_uri != NULL) { g_free (uri); |