[Pkg-owncloud-commits] [owncloud-client] 89/219: OS X: Overlay icons: Don't show if folder is not marked as being an oC folder
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Oct 11 14:43:13 UTC 2014
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 0edd4d3c02a7e6dfe584b1c36fc903dabe8124fe
Author: Markus Goetz <markus at woboq.com>
Date: Fri Sep 12 11:46:15 2014 +0200
OS X: Overlay icons: Don't show if folder is not marked as being an oC folder
---
shell_integration/MacOSX/OwnCloudFinder/ContentManager.m | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/shell_integration/MacOSX/OwnCloudFinder/ContentManager.m b/shell_integration/MacOSX/OwnCloudFinder/ContentManager.m
index d14e156..26b320f 100644
--- a/shell_integration/MacOSX/OwnCloudFinder/ContentManager.m
+++ b/shell_integration/MacOSX/OwnCloudFinder/ContentManager.m
@@ -131,6 +131,10 @@ static ContentManager* sharedInstance = nil;
return res;
}
NSString* normalizedPath = [path decomposedStringWithCanonicalMapping];
+
+ if (![[RequestManager sharedInstance] isRegisteredPath:normalizedPath]) {
+ return [NSNumber numberWithInt:0];
+ }
NSNumber* result = [_fileNamesCache objectForKey:normalizedPath];
// NSLog(@"XXXXXXX Asking for icon for path %@ = %d",path, [result intValue]);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list