Changeset 1524
- Timestamp:
- 08/22/04 13:48:16 (4 years ago)
- Files:
-
- WiredClient/trunk/WCFiles.m (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
WiredClient/trunk/WCFiles.m
r1505 r1524 1 /* $Id: WCFiles.m,v 1.4 6 2004/08/16 17:42:49morris Exp $ */1 /* $Id: WCFiles.m,v 1.47 2004/08/22 11:48:16 morris Exp $ */ 2 2 3 3 /* … … 1129 1129 : _path; 1130 1130 1131 // --- check privilege 1132 if(![[_connection account] upload]) 1133 return NSDragOperationNone; 1134 1135 if([destination type] != WCFileTypeUploads && [destination type] != WCFileTypeDropBox) { 1136 if(![[_connection account] uploadAnywhere]) 1131 // --- check privilege for Finder drags 1132 if([types containsObject:NSFilenamesPboardType]) { 1133 if(![[_connection account] upload]) 1137 1134 return NSDragOperationNone; 1135 1136 if([destination type] != WCFileTypeUploads && [destination type] != WCFileTypeDropBox) { 1137 if(![[_connection account] uploadAnywhere]) 1138 return NSDragOperationNone; 1139 } 1138 1140 } 1139 1141
