Extras/GrowlSafari/GrowlSafariLoader.m
changeset 4401 24c2a3482ec3
parent 4400 3d6a80b674a0
child 4402 fc7016ea4fc2
     1.1 --- a/Extras/GrowlSafari/GrowlSafariLoader.m	Tue Sep 15 10:07:43 2009 -0700
     1.2 +++ b/Extras/GrowlSafari/GrowlSafariLoader.m	Tue Sep 15 10:08:03 2009 -0700
     1.3 @@ -66,7 +66,7 @@
     1.4  - (void) workspaceDidLaunchApplication:(NSNotification *)notification {
     1.5  	NSDictionary *launchedProcessInfo = [notification userInfo];
     1.6  	NSString *bundleID = [launchedProcessInfo objectForKey:@"NSApplicationBundleIdentifier"];
     1.7 -	if (bundleID && [bundleID caseInsensitiveCompare:SAFARI_BUNDLE_ID] == NSOrderedSame) {
     1.8 +	if (bundleID && ([bundleID caseInsensitiveCompare:SAFARI_BUNDLE_ID] == NSOrderedSame) || ([bundleID caseInsensitiveCompare:WEBKIT_LAUNCHER_BUNDLE_ID] == NSOrderedSame)) {
     1.9  		NSString *bundlePath = [[NSBundle bundleForClass:[self class]] pathForResource:@"GrowlSafari" ofType:@"bundle"];
    1.10  		if (bundlePath) {
    1.11  			NSNumber *PIDNum = [launchedProcessInfo objectForKey:@"NSApplicationProcessIdentifier"];