Skip to content

Commit

Permalink
unchecking 'automatically check for updates' only stopped the check o…
Browse files Browse the repository at this point in the history
…n startup, not subsequent ones. oops. bug #268
  • Loading branch information
Simone Manganelli authored and Simone Manganelli committed Aug 27, 2009
1 parent e875596 commit e244b95
Show file tree
Hide file tree
Showing 5 changed files with 134 additions and 201 deletions.
1 change: 1 addition & 0 deletions Plugin/CTFWhitelistWindowController.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ extern NSString* kCTFCheckForUpdates;
}

- (IBAction)checkForUpdates:(id)sender;
- (IBAction)automaticallyCheckForUpdatesDidChange:(id)sender;
- (IBAction)uninstallClickToFlash:(id)sender;

- (IBAction)cancelUninstall:(id)sender;
Expand Down
5 changes: 5 additions & 0 deletions Plugin/CTFWhitelistWindowController.m
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ - (IBAction)checkForUpdates:(id)sender;
[[SparkleManager sharedManager] checkForUpdates];
}

- (IBAction)automaticallyCheckForUpdatesDidChange:(id)sender;
{
[[SparkleManager sharedManager] setAutomaticallyChecksForUpdates:[sender state]];
}

- (NSString *)versionString
{
NSBundle *CTFBundle = [NSBundle bundleWithIdentifier:@"com.github.rentzsch.clicktoflash"];
Expand Down
Loading

0 comments on commit e244b95

Please sign in to comment.