Revision: 7782
http://skim-app.svn.sourceforge.net/skim-app/?rev=7782&view=rev
Author: hofman
Date: 2012-11-04 01:32:27 +0000 (Sun, 04 Nov 2012)
Log Message:
-----------
check for task termination status
Modified Paths:
--------------
trunk/SKAttachmentEmailer.m
Modified: trunk/SKAttachmentEmailer.m
===================================================================
--- trunk/SKAttachmentEmailer.m 2012-11-04 00:52:58 UTC (rev 7781)
+++ trunk/SKAttachmentEmailer.m 2012-11-04 01:32:27 UTC (rev 7782)
@@ -126,8 +126,10 @@
}
- (void)taskFinished:(NSNotification *)notification {
- if ([[NSFileManager defaultManager] fileExistsAtURL:fileURL] == NO)
+ if ([[NSFileManager defaultManager] fileExistsAtURL:fileURL] &&
[[notification object] terminationStatus] == 0)
[self emailAttachmentFile];
+ else
+ NSBeep();
[[NSNotificationCenter defaultCenter] removeObserver:self];
[self autorelease];
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit