aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Interfaces/English.lproj/MainMenu.xib8
-rw-r--r--Source/MainController.m7
2 files changed, 6 insertions, 9 deletions
diff --git a/Interfaces/English.lproj/MainMenu.xib b/Interfaces/English.lproj/MainMenu.xib
index 9b3239ec..0f74ff0c 100644
--- a/Interfaces/English.lproj/MainMenu.xib
+++ b/Interfaces/English.lproj/MainMenu.xib
@@ -2441,14 +2441,6 @@
</object>
<int key="connectionID">936</int>
</object>
- <object class="IBConnectionRecord">
- <object class="IBOutletConnection" key="connection">
- <string key="label">delegate</string>
- <reference key="source" ref="138191718"/>
- <reference key="destination" ref="432083121"/>
- </object>
- <int key="connectionID">937</int>
- </object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
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];