Revision: 5814
http://skim-app.svn.sourceforge.net/skim-app/?rev=5814&view=rev
Author: hofman
Date: 2009-09-25 16:29:44 +0000 (Fri, 25 Sep 2009)
Log Message:
-----------
reset SKIsRelaunch pref in applicationDidFinishLaunching, because
applicationShoulsOpenUntitledFile is not always called
Modified Paths:
--------------
trunk/SKApplicationController.m
Modified: trunk/SKApplicationController.m
===================================================================
--- trunk/SKApplicationController.m 2009-09-25 12:44:24 UTC (rev 5813)
+++ trunk/SKApplicationController.m 2009-09-25 16:29:44 UTC (rev 5814)
@@ -156,7 +156,6 @@
if (nil == [[NSDocumentController sharedDocumentController]
openDocumentWithSetup:dict error:&error] && error)
[NSApp presentError:error];
}
- [[NSUserDefaults standardUserDefaults]
removeObjectForKey:SKIsRelaunchKey];
}
return NO;
@@ -169,6 +168,8 @@
}
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification{
+ [[NSUserDefaults standardUserDefaults] removeObjectForKey:SKIsRelaunchKey];
+
[NSApp setServicesProvider:self];
NSUserDefaults *sud = [NSUserDefaults standardUserDefaults];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit