diff options
author | Jocelyn Turcotte <jturcotte@woboq.com> | 2015-02-25 14:10:36 +0300 |
---|---|---|
committer | Jocelyn Turcotte <jturcotte@woboq.com> | 2015-02-25 14:13:28 +0300 |
commit | a98ab6f51de03ed81ee3f9a1e91d7dfd64ecb5d8 (patch) | |
tree | 885c4a60655446323405e5335a80470515447dfa /shell_integration | |
parent | 5c7fd24ea8ad1d92fbe2810fcbdbf9f2ecd14506 (diff) |
shell_integration: Remove OwnCloud from public strings on OSX
Also removed it from commented out logs just in case.
Diffstat (limited to 'shell_integration')
4 files changed, 19 insertions, 19 deletions
diff --git a/shell_integration/MacOSX/OwnCloudFinder/ContentManager.m b/shell_integration/MacOSX/OwnCloudFinder/ContentManager.m index 0d24af8cb..5ef4efee1 100644 --- a/shell_integration/MacOSX/OwnCloudFinder/ContentManager.m +++ b/shell_integration/MacOSX/OwnCloudFinder/ContentManager.m @@ -111,7 +111,7 @@ static ContentManager* sharedInstance = nil; }else if( [result isEqualToString:@"NOP"]) { // Nothing. } else { - NSLog(@"OwnCloud: Unknown status code %@", result); + NSLog(@"SyncState: Unknown status code %@", result); } NSString* normalizedPath = [path decomposedStringWithCanonicalMapping]; @@ -129,7 +129,7 @@ static ContentManager* sharedInstance = nil; //NSLog(@"%@ %@", NSStringFromSelector(_cmd), path); if (!_fileIconsEnabled) { - NSLog(@"OwnCloud: Icons are NOT ENABLED!"); + NSLog(@"SyncState: Icons are NOT ENABLED!"); // return nil; } @@ -284,7 +284,7 @@ static ContentManager* sharedInstance = nil; } else { - NSLog(@"OwnCloudFinder: refreshing icon badges failed"); + NSLog(@"SyncState: refreshing icon badges failed"); return; } @@ -333,7 +333,7 @@ static ContentManager* sharedInstance = nil; } else { - NSLog(@"OwnCloudFinder: refreshing icon badges failed"); + NSLog(@"SyncState: refreshing icon badges failed"); return; } diff --git a/shell_integration/MacOSX/OwnCloudFinder/FinderHook.m b/shell_integration/MacOSX/OwnCloudFinder/FinderHook.m index 72baab269..4c487762c 100644 --- a/shell_integration/MacOSX/OwnCloudFinder/FinderHook.m +++ b/shell_integration/MacOSX/OwnCloudFinder/FinderHook.m @@ -44,12 +44,12 @@ static BOOL installed = NO; { if (installed) { - // NSLog(@"OwnCloudFinder: already installed"); + // NSLog(@"SyncStateFinder: already installed"); return; } - // NSLog(@"OwnCloudFinder: installing ownCloud Shell extension"); + // NSLog(@"SyncStateFinder: installing SyncState Shell extension"); [RequestManager sharedInstance]; @@ -81,19 +81,19 @@ static BOOL installed = NO; installed = YES; - // NSLog(@"OwnCloudFinder: installed"); + // NSLog(@"SyncStateFinder: installed"); } + (void)uninstall { if (!installed) { - // NSLog(@"OwnCloudFinder: not installed"); + // NSLog(@"SyncStateFinder: not installed"); return; } - // NSLog(@"OwnCloudFinder: uninstalling"); + // NSLog(@"SyncStateFinder: uninstalling"); [[ContentManager sharedInstance] dealloc]; @@ -119,7 +119,7 @@ static BOOL installed = NO; installed = NO; - // NSLog(@"OwnCloudFinder: uninstalled"); + // NSLog(@"SyncStateFinder: uninstalled"); } @end
\ No newline at end of file diff --git a/shell_integration/MacOSX/OwnCloudFinder/RequestManager.m b/shell_integration/MacOSX/OwnCloudFinder/RequestManager.m index 8d8f96730..888b4d5d7 100644 --- a/shell_integration/MacOSX/OwnCloudFinder/RequestManager.m +++ b/shell_integration/MacOSX/OwnCloudFinder/RequestManager.m @@ -170,10 +170,10 @@ static RequestManager* sharedInstance = nil; _shareMenuTitle = [[chunks objectAtIndex:1] copy]; // NSLog(@"Received shar menu title: %@", _shareMenuTitle); } else { - NSLog(@"OwnCloud: Unknown command %@", [chunks objectAtIndex:0]); + NSLog(@"SyncState: Unknown command %@", [chunks objectAtIndex:0]); } } else if (tag != READ_TAG) { - NSLog(@"OwnCloud: Received unknown tag %ld <%@>", tag, answer); + NSLog(@"SyncState: Received unknown tag %ld <%@>", tag, answer); } // Read on and on NSData* stop = [@"\n" dataUsingEncoding:NSUTF8StringEncoding]; diff --git a/shell_integration/MacOSX/OwnCloudInjector/OwnCloudInjector.m b/shell_integration/MacOSX/OwnCloudInjector/OwnCloudInjector.m index 67760090c..ed744d84d 100644 --- a/shell_integration/MacOSX/OwnCloudInjector/OwnCloudInjector.m +++ b/shell_integration/MacOSX/OwnCloudInjector/OwnCloudInjector.m @@ -7,7 +7,7 @@ #define WAIT_FOR_APPLE_EVENT_TO_ENTER_HANDLER_IN_SECONDS 1.0 #define FINDER_MIN_TESTED_VERSION @"10.7" #define FINDER_MAX_TESTED_VERSION @"10.8.5" -#define LIFERAYNATIVITY_INJECTED_NOTIFICATION @"OwnCloudInjectedNotification" +#define LIFERAYNATIVITY_INJECTED_NOTIFICATION @"SyncStateInjectedNotification" EXPORT OSErr HandleLoadEvent(const AppleEvent* ev, AppleEvent* reply, long refcon); @@ -78,14 +78,14 @@ static OSErr loadBundle(LNBundleType type, AppleEvent* reply, long refcon) { minVersion = FINDER_MIN_TESTED_VERSION; break; default: - NSLog(@"OwnCloudInjector: Failed to load bundle for type %d", type); + NSLog(@"SyncStateInjector: Failed to load bundle for type %d", type); return 8; break; } if (isLoaded) { - // NSLog(@"OwnCloudInjector: %@ already loaded.", bundleName); + // NSLog(@"SyncStateInjector: %@ already loaded.", bundleName); return noErr; } @@ -149,7 +149,7 @@ static OSErr loadBundle(LNBundleType type, AppleEvent* reply, long refcon) { } id principalClassObject = NSClassFromString(NSStringFromClass(principalClass)); if ([principalClassObject respondsToSelector:@selector(install)]) { - // NSLog(@"OwnCloudInjector: Installing %@ ...", bundleName); + // NSLog(@"SyncStateInjector: Installing %@ ...", bundleName); [principalClassObject install]; } @@ -186,7 +186,7 @@ EXPORT OSErr HandleLoadEvent(const AppleEvent* ev, AppleEvent* reply, long refco NSString* injectorVersion = [injectorBundle objectForInfoDictionaryKey:@"CFBundleVersion"]; if (!injectorVersion || ![injectorVersion isKindOfClass:[NSString class]]) { - reportError(reply, [NSString stringWithFormat:@"Unable to determine OwnCloudInjector version!"]); + reportError(reply, [NSString stringWithFormat:@"Unable to determine SyncStateInjector version!"]); return 7; } @@ -232,7 +232,7 @@ EXPORT OSErr HandleUnloadEvent(const AppleEvent* ev, AppleEvent* reply, long ref @autoreleasepool { @try { if (!liferayNativityLoaded) { - // NSLog(@"OwnCloudInjector: not loaded."); + // NSLog(@"SyncStateInjector: not loaded."); return noErr; } @@ -253,7 +253,7 @@ EXPORT OSErr HandleUnloadEvent(const AppleEvent* ev, AppleEvent* reply, long ref } id principalClassObject = NSClassFromString(NSStringFromClass(principalClass)); if ([principalClassObject respondsToSelector:@selector(uninstall)]) { - // NSLog(@"OwnCloudInjector: Uninstalling %@ ...", bundleName); + // NSLog(@"SyncStateInjector: Uninstalling %@ ...", bundleName); [principalClassObject uninstall]; } |