Partial fix for 245277: basic descriptions for some Sparkle classes. Thanks to Christiaan Hofman for the patch.

This commit is contained in:
Andy Matuschak committed 2008-08-19 21:24:26 -07:00
1 parent 84be00b29f
commit c386b704b5
8 files changed
+15

No files matched your search

+1
View File
@@ -33,6 +33,7 @@
[super dealloc];
}
- (NSString *)description { return [NSString stringWithFormat:@"%@ <%@>", [self class], [host bundlePath]]; }
- (IBAction)installNow:sender
{
+2
View File
@@ -28,6 +28,8 @@
[super dealloc];
}
- (NSString *)description { return [NSString stringWithFormat:@"%@ <%@>", [self class], [self bundlePath]]; }
- (NSBundle *)bundle
{
return bundle;
+2
View File
@@ -31,6 +31,8 @@
[super dealloc];
}
- (NSString *)description { return [NSString stringWithFormat:@"%@ <%@>", [self class], [host bundlePath]]; }
- (void)awakeFromNib
{
[[self window] center];
+2
View File
@@ -27,6 +27,8 @@ extern NSMutableArray *__unarchiverImplementations;
return nil;
}
- (NSString *)description { return [NSString stringWithFormat:@"%@ <%@>", [self class], archivePath]; }
- (void)setDelegate:del
{
delegate = del;
+2
View File
@@ -25,6 +25,8 @@
return self;
}
- (NSString *)description { return [NSString stringWithFormat:@"%@ <%@>", [self class], [host bundlePath]]; }
- (void)dealloc
{
[updateItem release];
+2
View File
@@ -18,6 +18,8 @@ NSString *SUUpdateDriverFinishedNotification = @"SUUpdateDriverFinished";
return self;
}
- (NSString *)description { return [NSString stringWithFormat:@"%@ <%@>", [self class], [host bundlePath]]; }
- (void)checkForUpdatesAtURL:(NSURL *)appcastURL host:(SUHost *)h
{
host = [h retain];
+2
View File
@@ -43,6 +43,8 @@
[NSApp runModalForWindow:[prompt window]];
}
- (NSString *)description { return [NSString stringWithFormat:@"%@ <%@>", [self class], [host bundlePath]]; }
- (void)awakeFromNib
{
if (![self shouldAskAboutProfile])
+2
View File
@@ -78,6 +78,8 @@ static NSString *SUUpdaterDefaultsObservationContext = @"SUUpdaterDefaultsObserv
return [self initForBundle:[NSBundle mainBundle]];
}
- (NSString *)description { return [NSString stringWithFormat:@"%@ <%@>", [self class], [host bundlePath]]; }
- (void)applicationDidFinishLaunching:(NSNotification *)note
{
BOOL shouldPrompt = NO;