зеркало из https://github.com/nextcloud/desktop.git
Mac Overlays: load icons from the proper place in the system.
This commit is contained in:
Родитель
327f70240c
Коммит
23269c9a08
|
@ -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"]];
|
||||||
|
|
Загрузка…
Ссылка в новой задаче