Fixing bug 375420, Downloaded files stay open and can' t be deleted in Finder. Remove file tracking once a file is removed from the original location.

This commit is contained in:
nick.kreeger%park.edu 2007-04-01 01:17:56 +00:00
Родитель c3c23acaf2
Коммит 86ec0421fb
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -550,6 +550,11 @@ enum {
mRefreshIcon = YES;
[self refreshDownloadInfo];
}
// Unsubscribe our notice if the file has moved and is currently watched.
// This call is made to work around a bug in kqueue in OS X 10.3 (see bug 375420).
if (!fileExists && mFileIsWatched)
[self unsubscribeFileSystemNotification];
}
-(void)setProgressViewFromDictionary:(NSDictionary*)aDict