Changeset 3194
- Timestamp:
- Sep 26, 2007, 11:49:21 PM (15 years ago)
- Location:
- trunk/macosx
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r3193 r3194 102 102 + (void) initialize 103 103 { 104 //make sure system requirements are met105 if (floor(NSAppKitVersionNumber) <= NSAppKitVersionNumber10_3)106 {107 NSAlert * alert = [[NSAlert alloc] init];108 [alert addButtonWithTitle: NSLocalizedString(@"Quit", "OS update needed -> button")];109 [alert setMessageText: NSLocalizedString(@"Transmission requires Mac OS X 10.4 or greater.",110 "OS update needed -> title")];111 [alert setInformativeText: NSLocalizedString(@"Transmission has features that require a more "112 "up-to-date operating system. The operating system must be updated before this version can run.",113 "OS update needed -> message")];114 [alert setAlertStyle: NSWarningAlertStyle];115 116 [alert runModal];117 [alert release];118 119 exit(0);120 }121 122 104 //make sure another Transmission.app isn't running already 123 105 NSString * bundleIdentifier = [[NSBundle mainBundle] bundleIdentifier]; -
trunk/macosx/Info.plist.in
r3083 r3194 46 46 <key>CFBundleVersion</key> 47 47 <string>%%BUNDLE_VERSION%%</string> 48 <key>LSMinimumSystemVersion</key> 49 <string>10.4.0</string> 48 50 <key>NSAppleScriptEnabled</key> 49 51 <string>YES</string> -
trunk/macosx/TorrentCell.m
r3193 r3194 253 253 254 254 //progress 255 NSRect progressRect;256 255 if (!minimal) 257 256 { 258 257 NSAttributedString * progressString = [self attributedStatusString: [torrent progressString] withColor: statusColor]; 259 progressRect = [self rectForProgressWithString: progressString inBounds: cellFrame];258 NSRect progressRect = [self rectForProgressWithString: progressString inBounds: cellFrame]; 260 259 [progressString drawInRect: progressRect]; 261 260 } … … 263 262 //bar 264 263 NSRect barRect = [self barRectForBounds: cellFrame]; 265 //[fDefaults boolForKey: @"UseAdvancedBar"] ? [self drawAdvancedBar: barRect] : [self drawSimpleBar: barRect];266 264 [self drawBar: barRect]; 267 265 -
trunk/macosx/en.lproj/MainMenu.nib/classes.nib
r3150 r3194 44 44 stopSelectedTorrents = id; 45 45 switchFilter = id; 46 toggleAdvancedBar = id;47 46 toggleFilterBar = id; 48 47 toggleSmallView = id; -
trunk/macosx/en.lproj/MainMenu.nib/info.nib
r3193 r3194 10 10 <string>480 344 208 149 0 0 1680 1028 </string> 11 11 <key>1480</key> 12 <string>6 87 587420 63 0 0 1680 1028 </string>12 <string>630 671 420 63 0 0 1680 1028 </string> 13 13 <key>1603</key> 14 14 <string>601 669 477 67 0 0 1680 1028 </string> … … 37 37 <array> 38 38 <integer>29</integer> 39 <integer>1603</integer> 39 40 <integer>2043</integer> 40 <integer>1603</integer>41 41 <integer>21</integer> 42 42 <integer>1480</integer>
Note: See TracChangeset
for help on using the changeset viewer.