Permalink
Browse files

QuickCursor 2.4.2

  • Loading branch information...
1 parent df4953f commit a273a5b2d2cad5eea300c6730b05734565771609 @jessegrosjean jessegrosjean committed Oct 7, 2011
View
@@ -154,17 +154,18 @@ - (BOOL)_launchExternalEditor {
BOOL success = NO;
BOOL running = NO;
NSWorkspace *workspace = [NSWorkspace sharedWorkspace];
- NSArray *runningApplications = [workspace launchedApplications];
+ NSArray *runningApplications = [workspace runningApplications];
NSEnumerator *enumerator = [runningApplications objectEnumerator];
- NSDictionary *applicationInfo;
+ NSRunningApplication *applicationInfo;
while (nil != (applicationInfo = [enumerator nextObject])) {
- NSString *bundleIdentifier = [applicationInfo objectForKey: @"NSApplicationBundleIdentifier"];
+
+ NSString *bundleIdentifier = [applicationInfo bundleIdentifier];
if ([bundleIdentifier isEqualToString: _editorBundleIdentifier]) {
running = YES;
// bring the app forward
- success = [workspace launchApplication: [applicationInfo objectForKey: @"NSApplicationPath"]];
+ success = [workspace launchApplication:[[applicationInfo bundleURL] path]];
break;
}
}
View
@@ -186,7 +186,7 @@ - (BOOL)setValue:(id)newValue forAttribute:(NSString *)attributeName {
AXUIElementIsAttributeSettable(uiElementRef, (CFStringRef)attributeName, &settableFlag);
if (!settableFlag) {
- NSLog(@"%@ is not a writeable attribute", attributeName, nil);
+ NSLog(@"%@ is not a writeable attribute", attributeName);
return NO;
}
View
@@ -19,7 +19,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>2.4.1</string>
+ <string>2.4.2</string>
<key>CFBundleSignature</key>
<string>QcCr</string>
<key>CFBundleURLTypes</key>
@@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
- objectVersion = 45;
+ objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
@@ -269,8 +269,11 @@
/* Begin PBXProject section */
29B97313FDCFA39411CA2CEA /* Project object */ = {
isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 0420;
+ };
buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "QuickCursor" */;
- compatibilityVersion = "Xcode 3.1";
+ compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 1;
knownRegions = (
@@ -354,13 +357,14 @@
i386,
x86_64,
);
- CODE_SIGN_IDENTITY = "3rd Party Mac Developer Application: Jesse Grosjean";
+ CODE_SIGN_IDENTITY = "3rd Party Mac Developer Application";
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_PREPROCESSOR_DEFINITIONS = MAS;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- PREBINDING = NO;
- SDKROOT = macosx10.6;
+ MACOSX_DEPLOYMENT_TARGET = 10.6;
+ PROVISIONING_PROFILE = "";
+ SDKROOT = "";
};
name = Distribution;
};
@@ -399,7 +403,6 @@
"\"$(SRCROOT)\"",
);
GCC_DYNAMIC_NO_PIC = NO;
- GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
@@ -444,9 +447,9 @@
GCC_OPTIMIZATION_LEVEL = 0;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.6;
ONLY_ACTIVE_ARCH = YES;
- PREBINDING = NO;
- SDKROOT = macosx10.6;
+ SDKROOT = "";
};
name = Debug;
};
@@ -457,8 +460,8 @@
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- PREBINDING = NO;
- SDKROOT = macosx10.6;
+ MACOSX_DEPLOYMENT_TARGET = 10.6;
+ SDKROOT = "";
};
name = Release;
};

0 comments on commit a273a5b

Please sign in to comment.