зеркало из 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];
|
||||
_fileIconsEnabled = TRUE;
|
||||
|
||||
// FIXME: Proper path here!
|
||||
NSString *base = @"/Users/mackie/owncloud.com/mirall/shell_integration/icons/icns/";
|
||||
NSString *base = @"/Applications/owncloud.app/Contents/Resources/icons/";
|
||||
|
||||
_icnOk = [[IconCache sharedInstance] registerIcon:[base stringByAppendingString:@"ok.icns"]];
|
||||
_icnSync = [[IconCache sharedInstance] registerIcon:[base stringByAppendingString:@"sync.icns"]];
|
||||
|
|
Загрузка…
Ссылка в новой задаче