get the app working on 10.4 and later, compiling on 10.5
This commit is contained in:
parent
92ac49d9c4
commit
69df8105a7
|
@ -1806,9 +1806,10 @@
|
|||
GCC_WARN_UNUSED_FUNCTION = NO;
|
||||
GCC_WARN_UNUSED_VALUE = NO;
|
||||
GCC_WARN_UNUSED_VARIABLE = NO;
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.4;
|
||||
OTHER_CFLAGS = "$(inherited)";
|
||||
PREBINDING = NO;
|
||||
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk";
|
||||
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.5.sdk";
|
||||
};
|
||||
name = Development;
|
||||
};
|
||||
|
@ -1858,8 +1859,9 @@
|
|||
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
|
||||
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.4;
|
||||
PREBINDING = NO;
|
||||
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk";
|
||||
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.5.sdk";
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
|
|
|
@ -181,8 +181,8 @@ typedef enum
|
|||
{
|
||||
if (numberSelected > 0)
|
||||
{
|
||||
[fImageView setImage: [NSImage imageNamed: /*[NSApp isOnLeopardOrBetter]
|
||||
? NSImageNameMultipleDocuments :*/ @"NSApplicationIcon"]];
|
||||
[fImageView setImage: [NSImage imageNamed: [NSApp isOnLeopardOrBetter]
|
||||
? NSImageNameMultipleDocuments : @"NSApplicationIcon"]];
|
||||
|
||||
[fNameField setStringValue: [NSString stringWithFormat: NSLocalizedString(@"%d Torrents Selected",
|
||||
"Inspector -> above tabs -> selected torrents"), numberSelected]];
|
||||
|
|
|
@ -24,10 +24,6 @@
|
|||
|
||||
#import "NSApplicationAdditions.h"
|
||||
|
||||
#ifndef NSAppKitVersionNumber10_4
|
||||
#define NSAppKitVersionNumber10_4 824
|
||||
#endif
|
||||
|
||||
@implementation NSApplication (NSApplicationAdditions)
|
||||
|
||||
- (BOOL) isOnLeopardOrBetter
|
||||
|
|
Loading…
Reference in New Issue