• Pavel Cisler's avatar
    reviewed by: Gene Ragan <gzr@eazel.com> · 8e014624
    Pavel Cisler authored
    2001-02-01  Pavel Cisler  <pavel@eazel.com>
    
    	reviewed by: Gene Ragan <gzr@eazel.com>
    
    	Fix 6152 (Dragging a file to the trash will bring up a replace
    		  dialog)
    	Fix 5387 (Dragging a file within Trash gives "already exists"
    		 error)
    
    	* libnautilus-extensions/nautilus-drag.c:
    	* libnautilus-extensions/nautilus-drag.h:
    	(nautilus_drag_items_local), (nautilus_drag_items_in_trash):
    	Add more convenience calls for Trash handling.
    
    	* libnautilus-extensions/nautilus-file-utilities.h:
    	* libnautilus-extensions/nautilus-file-utilities.c:
    	(nautilus_uri_is_in_trash):
    	New convenience call for Trash handling.
    
    	* libnautilus-extensions/nautilus-file.c:
    	(nautilus_file_is_in_trash):
    	Use the new nautilus_uri_is_in_trash call.
    
    	* libnautilus-extensions/nautilus-file-operations.c:
    	(nautilus_file_operations_copy_move):
    	Handle the case where a file is dragged into a Trash window or
    	onto a Trash icon as if the "Move to Trash" command was issued -
    	if there is a name conflict with a pre-existing file in the Trash,
    	use a new unique name for the new file.
    
    	* libnautilus-extensions/nautilus-icon-dnd.c:
    	(nautilus_icon_container_selection_items_local):
    	Handle files in the Trash properly - doing a parent match with
    	the container URI fails for these, special case Trash handling.
    8e014624
Name
Last commit
Last update
applets Loading commit data...
components Loading commit data...
cut-n-paste-code Loading commit data...
data Loading commit data...
docs Loading commit data...
helper-scripts Loading commit data...
helper-utilities Loading commit data...
icons Loading commit data...
libnautilus Loading commit data...
libnautilus-adapter Loading commit data...
libnautilus-extensions Loading commit data...
libnautilus-private Loading commit data...
librsvg Loading commit data...
nautilus-installer Loading commit data...
po Loading commit data...
src Loading commit data...
test Loading commit data...
user-guide Loading commit data...
.cvsignore Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
CVSVERSION Loading commit data...
ChangeLog Loading commit data...
ChangeLog-20000414 Loading commit data...
ChangeLog-20000625 Loading commit data...
ChangeLog-20000831 Loading commit data...
ChangeLog-20001018 Loading commit data...
ChangeLog-20010201 Loading commit data...
HACKING Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
Makefile.shared Loading commit data...
NEWS Loading commit data...
README Loading commit data...
RENAMING Loading commit data...
RPMs-README Loading commit data...
THANKS Loading commit data...
TODO Loading commit data...
acconfig.h Loading commit data...
autogen.sh Loading commit data...
check-FIXME.pl Loading commit data...
check-POTFILES.pl Loading commit data...
check-THANKS.pl Loading commit data...
check-config-h.pl Loading commit data...
check-headers-in-Makefile.pl Loading commit data...
check-signals.pl Loading commit data...
configure.in Loading commit data...
nautilus-clean.sh Loading commit data...
nautilus-launch-icon.png Loading commit data...
nautilus.desktop.in Loading commit data...
nautilus.spec.in Loading commit data...