Switch to autosave in place workflow

This commit is contained in:
Matthias Neeracher 2011-08-28 23:05:19 +02:00
parent ec538bb4da
commit ba74cb30f1
3 changed files with 690 additions and 334 deletions

File diff suppressed because it is too large Load Diff

View File

@ -282,6 +282,11 @@
}
}
- (void) applicationDidFinishLaunching:(NSNotification *)notification
{
[[NSDocumentController sharedDocumentController] setAutosavingDelay:30.0];
}
- (BOOL) lameIsInstalled
{
if (!lamePath) {

View File

@ -68,6 +68,11 @@
@implementation VLDocument
+ (BOOL)autosavesInPlace
{
return YES;
}
- (id)init
{
self = [super init];