Changeset 7697
- Timestamp:
- Jan 13, 2009, 4:51:11 AM (12 years ago)
- Location:
- trunk/macosx
- Files:
-
- 2 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Info.plist
r7675 r7697 72 72 <key>SUAllowsAutomaticUpdates</key> 73 73 <false/> 74 <key> AppcastRelease</key>74 <key>SUFeedURL</key> 75 75 <string>http://www.transmissionbt.com/appcast.xml</string> 76 <key>AppcastBeta</key>77 <string>http://www.transmissionbt.com/appcast_beta.xml</string>78 76 <key>SUPublicDSAKeyFile</key> 79 77 <string>sparkle_dsa_pub.pem</string> -
trunk/macosx/PrefsController.h
r7662 r7697 66 66 + (tr_session *) handle; 67 67 68 - (void) updateAppcastURL: (id) sender;68 - (void) setAutoUpdateToBeta: (id) sender; 69 69 70 70 - (void) setPort: (id) sender; -
trunk/macosx/PrefsController.m
r7662 r7697 151 151 } 152 152 153 [self updateAppcastURL: nil];153 [self setAutoUpdateToBeta: nil]; 154 154 } 155 155 … … 339 339 } 340 340 341 #warning add custom Sparkle to support this; reenable in XIB 341 342 //for a beta release, always use the beta appcast 342 343 #if defined(BETA_RELEASE) 343 #define APPCAST_URL @"AppcastBeta"344 #define SPARKLE_TAG YES 344 345 #else 345 #define APPCAST_URL ([[NSUserDefaults standardUserDefaults] boolForKey: @"AutoUpdateBeta"] ? @"AppcastBeta" : @"AppcastRelease")346 #define SPARKLE_TAG [fDefaults boolForKey: @"AutoUpdateBeta"] 346 347 #endif 347 - (void) updateAppcastURL: (id) sender348 { 349 [[SUUpdater sharedUpdater] set FeedURL: [NSURL URLWithString: [[[NSBundle mainBundle] infoDictionary] objectForKey: APPCAST_URL]]];348 - (void) setAutoUpdateToBeta: (id) sender 349 { 350 [[SUUpdater sharedUpdater] setAllowedTags: SPARKLE_TAG ? [NSSet setWithObject: @"beta"] : nil]; 350 351 } 351 352 -
trunk/macosx/en.lproj/PrefsWindow.xib
r7662 r7697 3070 3070 <string key="NSFrame">{{1, 1}, {141, 169}}</string> 3071 3071 <reference key="NSSuperview" ref="544077474"/> 3072 <reference key="NSNextKeyView" ref="638525082"/> 3072 3073 <reference key="NSDocView" ref="638525082"/> 3073 3074 <reference key="NSBGColor" ref="729660797"/> … … 3097 3098 <string key="NSFrame">{{20, 49}, {143, 171}}</string> 3098 3099 <reference key="NSSuperview" ref="284666863"/> 3100 <reference key="NSNextKeyView" ref="568562479"/> 3099 3101 <int key="NSsFlags">530</int> 3100 3102 <reference key="NSVScroller" ref="287972127"/> … … 5535 5537 </object> 5536 5538 <object class="NSUserDefaultsController" id="356871564"> 5537 <object class="NSMutableArray" key="NSDeclaredKeys">5538 <bool key="EncodedWithXMLCoder">YES</bool>5539 <string>AutoUpdateBeta</string>5540 <string>SUEnableAutomaticChecks</string>5541 </object>5542 5539 <bool key="NSSharedInstance">YES</bool> 5543 5540 </object> … … 8733 8730 </object> 8734 8731 <object class="IBConnectionRecord"> 8735 <object class="IBBindingConnection" key="connection">8736 <string key="label">enabled: values.SUEnableAutomaticChecks</string>8737 <reference key="source" ref="1005555131"/>8738 <reference key="destination" ref="356871564"/>8739 <object class="NSNibBindingConnector" key="connector">8740 <reference key="NSSource" ref="1005555131"/>8741 <reference key="NSDestination" ref="356871564"/>8742 <string key="NSLabel">enabled: values.SUEnableAutomaticChecks</string>8743 <string key="NSBinding">enabled</string>8744 <string key="NSKeyPath">values.SUEnableAutomaticChecks</string>8745 <int key="NSNibBindingConnectorVersion">2</int>8746 </object>8747 </object>8748 <int key="connectionID">1898</int>8749 </object>8750 <object class="IBConnectionRecord">8751 8732 <object class="IBActionConnection" key="connection"> 8752 <string key="label"> updateAppcastURL:</string>8733 <string key="label">setAutoUpdateToBeta:</string> 8753 8734 <reference key="source" ref="511492310"/> 8754 8735 <reference key="destination" ref="1005555131"/> 8755 8736 </object> 8756 <int key="connectionID">1 899</int>8737 <int key="connectionID">1900</int> 8757 8738 </object> 8758 8739 </object> … … 12552 12533 </object> 12553 12534 <nil key="sourceID"/> 12554 <int key="maxID">1 899</int>12535 <int key="maxID">1900</int> 12555 12536 </object> 12556 12537 <object class="IBClassDescriber" key="IBDocument.Classes"> … … 12707 12688 <string>setAutoSize:</string> 12708 12689 <string>setAutoSpeedLimit:</string> 12690 <string>setAutoUpdateToBeta:</string> 12709 12691 <string>setBadge:</string> 12710 12692 <string>setBlocklistAutoUpdate:</string> … … 12739 12721 <string>setStalled:</string> 12740 12722 <string>setStalledMinutes:</string> 12741 <string>updateAppcastURL:</string>12742 12723 <string>updateBlocklist:</string> 12743 12724 </object>
Note: See TracChangeset
for help on using the changeset viewer.