Modernize the code a bit, fix the help url and improve the dts options

This commit is contained in:
Damiano Galassi committed 2015-08-19 19:28:00 +02:00
1 parent e161718557
commit b005cd7d1d
26 files changed
+355 -214

No files matched your search

+2 -3
View File
@@ -171,8 +171,7 @@
- (IBAction) help:(id)sender
{
[[NSWorkspace sharedWorkspace] openURL: [NSURL
URLWithString:@"http://code.google.com/p/subler/wiki/Documentation"]];
[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"https://bitbucket.org/galad87/subler/wiki/Home"]];
}
- (IBAction) linkDonate:(id)sender
@@ -207,7 +206,7 @@
SBDocument *doc = [self openUntitledDocumentAndDisplay:displayDocument error:&outError];
[doc performSelectorOnMainThread:@selector(showImportSheet:) withObject:[NSArray arrayWithObject:url] waitUntilDone:NO];
completionHandler(doc, NO, NULL);
completionHandler(doc, NO, outError);
});
}
else {