summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-file-dnd.c
diff options
context:
space:
mode:
authorChristian Neumair <chris@gnome-de.org>2006-07-27 21:58:42 +0000
committerChristian Neumair <cneumair@src.gnome.org>2006-07-27 21:58:42 +0000
commitbef04d930608ceae8577d7217820c06ebb8d459a (patch)
treeca6afc8a76180da7faf20b8017da54054dd91b70 /libnautilus-private/nautilus-file-dnd.c
parent094edd3c7aa17626af8f8999a318b6679e461c82 (diff)
downloadnautilus-bef04d930608ceae8577d7217820c06ebb8d459a.tar.gz
Rename nautilus_drag_default_drop_action_for_url to
2006-07-25 Christian Neumair <chris@gnome-de.org> * libnautilus-private/nautilus-dnd.c: Rename nautilus_drag_default_drop_action_for_url to nautilus_drag_default_drop_action_for_netscape_url. Don't offer netscape URL drags. * libnautilus-private/nautilus-dnd.h: Rename NAUTILUS_ICON_DND_URL(_TYPE) to NAUTILUS_ICON_DND_NETSCAPE_URL(_TYPE) and nautilus_drag_default_drop_action_for_url to nautilus_drag_default_drop_action_for_netscape_url. * libnautilus-private/nautilus-file-operations.c: (nautilus_file_operations_new_file_from_template): Filter out special URIs, handle gnome_vfs_uri_new() failure. * libnautilus-private/nautilus-file-utilities.c: (test_uri_exists), (nautilus_ensure_unique_file_name): Handle gnome_vfs_uri_new() failure by returning NULL. * libnautilus-private/nautilus-icon-container.c: * libnautilus-private/nautilus-icon-container.h: Rename HANDLE_URL signal to HANDLE_NETSCAPE_URL. * libnautilus-private/nautilus-icon-dnd.c: * libnautilus-private/nautilus-icon-dnd.h: * libnautilus-private/nautilus-tree-view-drag-dest.c: * libnautilus-private/nautilus-tree-view-drag-dest.h: Don't offer netscape URL drags, prefer netscape URL drops over "text/uri-list" drops. Also rename DND_URL symbols to DND_NETSCAPE_URL. * libnautilus-private/nautilus-link-desktop-file.c: (nautilus_link_desktop_file_local_create): Handle trash, desktop and search URIs, handle NULL retval of nautilus_ensure_unique_file_name. * src/nautilus-location-bar.c: * src/nautilus-spatial-window.c: * src/file-manager/fm-list-model.c: Don't offer/handle netscape URL drags. * src/file-manager/fm-directory-view.h: * src/file-manager/fm-icon-view.c: * src/file-manager/fm-list-view: Rename DND_URL symbols to DND_NETSCAPE_URL. Should fix #347673.
Diffstat (limited to 'libnautilus-private/nautilus-file-dnd.c')
-rw-r--r--libnautilus-private/nautilus-file-dnd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnautilus-private/nautilus-file-dnd.c b/libnautilus-private/nautilus-file-dnd.c
index 13416b08e..3bc6ebc94 100644
--- a/libnautilus-private/nautilus-file-dnd.c
+++ b/libnautilus-private/nautilus-file-dnd.c
@@ -111,7 +111,7 @@ nautilus_drag_can_accept_info (NautilusFile *drop_target_item,
return nautilus_drag_can_accept_items (drop_target_item, items);
case NAUTILUS_ICON_DND_URI_LIST:
- case NAUTILUS_ICON_DND_URL:
+ case NAUTILUS_ICON_DND_NETSCAPE_URL:
case NAUTILUS_ICON_DND_TEXT:
return nautilus_drag_can_accept_files (drop_target_item);