Revision: 7072 http://skim-app.svn.sourceforge.net/skim-app/?rev=7072&view=rev Author: hofman Date: 2011-01-15 15:54:37 +0000 (Sat, 15 Jan 2011)
Log Message: ----------- set fileChangedOnDisk flag when it is moved, so we can override the revertDocument: action Modified Paths: -------------- trunk/SKFileUpdateChecker.m Modified: trunk/SKFileUpdateChecker.m =================================================================== --- trunk/SKFileUpdateChecker.m 2011-01-14 13:50:11 UTC (rev 7071) +++ trunk/SKFileUpdateChecker.m 2011-01-15 15:54:37 UTC (rev 7072) @@ -286,6 +286,7 @@ if ([watchedFile isEqualToString:[[notification userInfo] objectForKey:PATH_KEY]]) [self stopCheckingFileUpdates]; // If the file is moved, NSDocument will notice and will call setFileURL, where we start watching again + fucFlags.fileChangedOnDisk = YES; } - (void)handleFileDeleteNotification:(NSNotification *)notification { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit