mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
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.
This commit is contained in:
parent
1e832d842b
commit
cb4d4395fa
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
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.
|
||||
|
||||
2002-06-25 Damon Chaplin <damon@ximian.com>
|
||||
|
||||
* libnautilus-private/nautilus-icon-factory.c (load_icon_from_path):
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue