Skip to content

Commit

Permalink
Changed Sparkle url and switched on system profile
Browse files Browse the repository at this point in the history
  • Loading branch information
griff committed Jan 20, 2012
1 parent 8904f3c commit dfa1737
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 12 deletions.
30 changes: 19 additions & 11 deletions App/English.lproj/MainMenu.xib
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
</object>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
<integer value="1798"/>
<integer value="1723"/>
<integer value="1833"/>
<integer value="475"/>
<integer value="106"/>
<integer value="1723"/>
<integer value="1798"/>
<integer value="475"/>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
Expand Down Expand Up @@ -9213,6 +9213,14 @@
</object>
<int key="connectionID">1905</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">updater</string>
<reference key="source" ref="1053022543"/>
<reference key="destination" ref="931879071"/>
</object>
<int key="connectionID">1906</int>
</object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
Expand Down Expand Up @@ -14100,7 +14108,7 @@
</object>
</object>
<nil key="sourceID"/>
<int key="maxID">1905</int>
<int key="maxID">1906</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
Expand Down Expand Up @@ -14316,6 +14324,7 @@
<string>shortDescription</string>
<string>tabView</string>
<string>undoController</string>
<string>updater</string>
<string>window</string>
</object>
<object class="NSMutableArray" key="dict.values">
Expand All @@ -14338,6 +14347,7 @@
<string>NSTextView</string>
<string>NSTabView</string>
<string>FilesUndoController</string>
<string>SUUpdater</string>
<string>NSWindow</string>
</object>
</object>
Expand All @@ -14363,6 +14373,7 @@
<string>shortDescription</string>
<string>tabView</string>
<string>undoController</string>
<string>updater</string>
<string>window</string>
</object>
<object class="NSMutableArray" key="dict.values">
Expand Down Expand Up @@ -14439,6 +14450,10 @@
<string key="name">undoController</string>
<string key="candidateClassName">FilesUndoController</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">updater</string>
<string key="candidateClassName">SUUpdater</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">window</string>
<string key="candidateClassName">NSWindow</string>
Expand Down Expand Up @@ -15973,13 +15988,6 @@
<string key="minorKey">Foundation.framework/Headers/NSXMLParser.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">Growl.framework/Headers/GrowlApplicationBridge.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
Expand Down
4 changes: 3 additions & 1 deletion App/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,9 @@
<key>SUEnableAutomaticChecks</key>
<string>YES</string>
<key>SUFeedURL</key>
<string>http://griff.github.com/metaz/releases.xml</string>
<string>http://maven-group.org/metaz/appcast.xml</string>
<key>SUEnableSystemProfiling</key>
<string>YES</string>
<key>SUPublicDSAKeyFile</key>
<string>sparkle_public.pem</string>
<key>SmartCrashReports_CompanyName</key>
Expand Down
3 changes: 3 additions & 0 deletions App/src/AppController.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//

#import <Cocoa/Cocoa.h>
#import <Sparkle/Sparkle.h>
#import "MZMetaLoader.h"
#import "FilesUndoController.h"
#import "ResizeController.h"
Expand Down Expand Up @@ -46,6 +47,7 @@
NSProgressIndicator* loadingIndicator;
NSInteger loadings;
NSArrayController* picturesController;
SUUpdater* updater;

MZFileNameTextStorage* fileNameStorage;
NSTextView* fileNameEditor;
Expand All @@ -69,6 +71,7 @@
@property (nonatomic, retain) IBOutlet ChapterEditor* chapterEditor;
@property (nonatomic, retain) IBOutlet NSProgressIndicator* loadingIndicator;
@property (nonatomic, retain) IBOutlet NSArrayController* picturesController;
@property (nonatomic, retain) IBOutlet SUUpdater* updater;
@property (readonly) NSInteger remainingInShortDescription;

+ (void)initialize;
Expand Down
3 changes: 3 additions & 0 deletions App/src/AppController.m
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ @implementation AppController
@synthesize chapterEditor;
@synthesize remainingInShortDescription;
@synthesize picturesController;
@synthesize updater;
@synthesize loadingIndicator;

#pragma mark - initialization
Expand Down Expand Up @@ -164,6 +165,7 @@ -(void)awakeFromNib
forKeyPath:@"selection.shortDescription"
options:0
context:nil];
[updater setSendsSystemProfile:YES];
}

-(void)dealloc {
Expand Down Expand Up @@ -196,6 +198,7 @@ -(void)dealloc {
[fileNameEditor release];
[fileNameStorage release];
[picturesController release];
[updater release];
[super dealloc];
}
#pragma mark - private
Expand Down

0 comments on commit dfa1737

Please sign in to comment.