aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/MainController.m7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/MainController.m b/Source/MainController.m
index f00e3264..320eb154 100644
--- a/Source/MainController.m
+++ b/Source/MainController.m
@@ -50,6 +50,9 @@
*/
- (void)awakeFromNib
{
+ // Set Sparkle delegate
+ [[SUUpdater sharedUpdater] setDelegate:self];
+
prefsController = [[SPPreferenceController alloc] init];
// Register MainController as services provider
@@ -69,7 +72,7 @@
*/
- (IBAction)openPreferences:(id)sender
{
- [prefsController showWindow:self];
+ [prefsController showWindow:self];
}
#pragma mark -
@@ -184,6 +187,8 @@
*/
- (void)updaterWillRelaunchApplication:(SUUpdater *)updater
{
+ NSLog(@"Called");
+
// Get all the currently open windows and their attached sheets if any
NSArray *windows = [NSApp windows];