mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-26 04:57:54 +00:00
Partial fix for 245277: basic descriptions for some Sparkle classes. Thanks to Christiaan Hofman for the patch.
This commit is contained in:
1 parent
84be00b29f
commit
c386b704b5
8 files changed
+15
No files matched your search
@@ -33,6 +33,7 @@
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
- (NSString *)description { return [NSString stringWithFormat:@"%@ <%@>", [self class], [host bundlePath]]; }
|
||||
|
||||
- (IBAction)installNow:sender
|
||||
{
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
- (NSString *)description { return [NSString stringWithFormat:@"%@ <%@>", [self class], [self bundlePath]]; }
|
||||
|
||||
- (NSBundle *)bundle
|
||||
{
|
||||
return bundle;
|
||||
|
||||
@@ -31,6 +31,8 @@
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
- (NSString *)description { return [NSString stringWithFormat:@"%@ <%@>", [self class], [host bundlePath]]; }
|
||||
|
||||
- (void)awakeFromNib
|
||||
{
|
||||
[[self window] center];
|
||||
|
||||
@@ -27,6 +27,8 @@ extern NSMutableArray *__unarchiverImplementations;
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (NSString *)description { return [NSString stringWithFormat:@"%@ <%@>", [self class], archivePath]; }
|
||||
|
||||
- (void)setDelegate:del
|
||||
{
|
||||
delegate = del;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
return self;
|
||||
}
|
||||
|
||||
- (NSString *)description { return [NSString stringWithFormat:@"%@ <%@>", [self class], [host bundlePath]]; }
|
||||
|
||||
- (void)dealloc
|
||||
{
|
||||
[updateItem release];
|
||||
|
||||
@@ -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];
|
||||
|
||||
@@ -43,6 +43,8 @@
|
||||
[NSApp runModalForWindow:[prompt window]];
|
||||
}
|
||||
|
||||
- (NSString *)description { return [NSString stringWithFormat:@"%@ <%@>", [self class], [host bundlePath]]; }
|
||||
|
||||
- (void)awakeFromNib
|
||||
{
|
||||
if (![self shouldAskAboutProfile])
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user