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"];