Mac Overlays: load icons from the proper place in the system.

This commit is contained in:
Klaas Freitag 2014-08-01 15:26:18 +02:00
Родитель 327f70240c
Коммит 23269c9a08
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -32,8 +32,7 @@ static ContentManager* sharedInstance = nil;
_fileNamesCache = [[NSMutableDictionary alloc] init]; _fileNamesCache = [[NSMutableDictionary alloc] init];
_fileIconsEnabled = TRUE; _fileIconsEnabled = TRUE;
// FIXME: Proper path here! NSString *base = @"/Applications/owncloud.app/Contents/Resources/icons/";
NSString *base = @"/Users/mackie/owncloud.com/mirall/shell_integration/icons/icns/";
_icnOk = [[IconCache sharedInstance] registerIcon:[base stringByAppendingString:@"ok.icns"]]; _icnOk = [[IconCache sharedInstance] registerIcon:[base stringByAppendingString:@"ok.icns"]];
_icnSync = [[IconCache sharedInstance] registerIcon:[base stringByAppendingString:@"sync.icns"]]; _icnSync = [[IconCache sharedInstance] registerIcon:[base stringByAppendingString:@"sync.icns"]];