mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-24 17:19:24 +00:00
Enabled full Icon set by Joanna Olsen. Still needs minor cleanup
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
MacPass/Icons/100.pdf
Normal file
BIN
MacPass/Icons/100.pdf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
MacPass/Icons/21_OrganizerTemplate.pdf
Normal file
BIN
MacPass/Icons/21_OrganizerTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/22_ASCIITemplate.pdf
Normal file
BIN
MacPass/Icons/22_ASCIITemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/23_IconsTemplate.pdf
Normal file
BIN
MacPass/Icons/23_IconsTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/24_EstablishedConnectionTemplate.pdf
Normal file
BIN
MacPass/Icons/24_EstablishedConnectionTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/25_MailFolderTemplate.pdf
Normal file
BIN
MacPass/Icons/25_MailFolderTemplate.pdf
Normal file
Binary file not shown.
Binary file not shown.
BIN
MacPass/Icons/27_NFSUnmountTemplate.pdf
Normal file
BIN
MacPass/Icons/27_NFSUnmountTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/28_QuickTimeTemplate.pdf
Normal file
BIN
MacPass/Icons/28_QuickTimeTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/29_SecureTerminalTemplate.pdf
Normal file
BIN
MacPass/Icons/29_SecureTerminalTemplate.pdf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
MacPass/Icons/32_FileSystemViewTemplate.pdf
Normal file
BIN
MacPass/Icons/32_FileSystemViewTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/33_RunTemplate.pdf
Normal file
BIN
MacPass/Icons/33_RunTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/34_ConfigureTemplate.pdf
Normal file
BIN
MacPass/Icons/34_ConfigureTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/35_BrowserWindowTemplate.pdf
Normal file
BIN
MacPass/Icons/35_BrowserWindowTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/36_ArchiveTemplate.pdf
Normal file
BIN
MacPass/Icons/36_ArchiveTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/37_PercentageTemplate.pdf
Normal file
BIN
MacPass/Icons/37_PercentageTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/38_SambaUnmountTemplate.pdf
Normal file
BIN
MacPass/Icons/38_SambaUnmountTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/39_HistoryTemplate.pdf
Normal file
BIN
MacPass/Icons/39_HistoryTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/40_FindMailTemplate.pdf
Normal file
BIN
MacPass/Icons/40_FindMailTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/41_VectorTemplate.pdf
Normal file
BIN
MacPass/Icons/41_VectorTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/42_MemoryTemplate.pdf
Normal file
BIN
MacPass/Icons/42_MemoryTemplate.pdf
Normal file
Binary file not shown.
Binary file not shown.
BIN
MacPass/Icons/44_NotesTemplate.pdf
Normal file
BIN
MacPass/Icons/44_NotesTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/45_CancelTemplate.pdf
Normal file
BIN
MacPass/Icons/45_CancelTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/46_HelpTemplate.pdf
Normal file
BIN
MacPass/Icons/46_HelpTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/47_PackageTemplate.pdf
Normal file
BIN
MacPass/Icons/47_PackageTemplate.pdf
Normal file
Binary file not shown.
Binary file not shown.
BIN
MacPass/Icons/49_FolderOpenTemplate.pdf
Normal file
BIN
MacPass/Icons/49_FolderOpenTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/50_FolderTarTemplate.pdf
Normal file
BIN
MacPass/Icons/50_FolderTarTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/51_DecryptedTemplate.pdf
Normal file
BIN
MacPass/Icons/51_DecryptedTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/52_EncryptedTemplate.pdf
Normal file
BIN
MacPass/Icons/52_EncryptedTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/53_ApplyTemplate.pdf
Normal file
BIN
MacPass/Icons/53_ApplyTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/54_SignatureTemplate.pdf
Normal file
BIN
MacPass/Icons/54_SignatureTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/55_ThumbnailTemplate.pdf
Normal file
BIN
MacPass/Icons/55_ThumbnailTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/56_AddressBookTemplate.pdf
Normal file
BIN
MacPass/Icons/56_AddressBookTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/57_TextViewTemplate.pdf
Normal file
BIN
MacPass/Icons/57_TextViewTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/58_SecureAccountTemplate.pdf
Normal file
BIN
MacPass/Icons/58_SecureAccountTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/59_DevelopmentTemplate.pdf
Normal file
BIN
MacPass/Icons/59_DevelopmentTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/60_HomeTemplate.pdf
Normal file
BIN
MacPass/Icons/60_HomeTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/61_ServicesTemplate.pdf
Normal file
BIN
MacPass/Icons/61_ServicesTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/62_TuxTemplate.pdf
Normal file
BIN
MacPass/Icons/62_TuxTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/63_FeatherTemplate.pdf
Normal file
BIN
MacPass/Icons/63_FeatherTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/64_AppleTemplate.pdf
Normal file
BIN
MacPass/Icons/64_AppleTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/65_WikiTemplate.pdf
Normal file
BIN
MacPass/Icons/65_WikiTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/66_MoneyTemplate.pdf
Normal file
BIN
MacPass/Icons/66_MoneyTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/67_CertificatTemplate.pdf
Normal file
BIN
MacPass/Icons/67_CertificatTemplate.pdf
Normal file
Binary file not shown.
Binary file not shown.
BIN
MacPass/Icons/94.pdf
Normal file
BIN
MacPass/Icons/94.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/95.pdf
Normal file
BIN
MacPass/Icons/95.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/96.pdf
Normal file
BIN
MacPass/Icons/96.pdf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
MacPass/Icons/addFolderTemplate.pdf
Normal file
BIN
MacPass/Icons/addFolderTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/downloadTemplate.pdf
Normal file
BIN
MacPass/Icons/downloadTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/downloadToDiskTemplate.pdf
Normal file
BIN
MacPass/Icons/downloadToDiskTemplate.pdf
Normal file
Binary file not shown.
BIN
MacPass/Icons/infoTemplate.pdf
Normal file
BIN
MacPass/Icons/infoTemplate.pdf
Normal file
Binary file not shown.
@@ -34,12 +34,54 @@ typedef NS_ENUM(NSUInteger, MPIconType) {
|
||||
MPIconDisplay,
|
||||
MPIconEmail,
|
||||
MPIconMisc,
|
||||
MPIconFileSave = 26,
|
||||
MPIconTerminal = 30,
|
||||
MPIconPrint = 31,
|
||||
MPIconTrash = 43,
|
||||
MPIconFolder = 48,
|
||||
MPIconPhone = 68,
|
||||
MPIconOrganizer,
|
||||
MPIconASCII,
|
||||
MPIconIcons,
|
||||
MPIconEstablishedConnection,
|
||||
MPIconMailFolder,
|
||||
MPIconFileSave,
|
||||
MPIconNFSUnmount,
|
||||
MPIconQuickTime,
|
||||
MPIconSecureTerminal,
|
||||
MPIconTerminal,
|
||||
MPIconPrint,
|
||||
MPIconFileSystemView,
|
||||
MPIconRun,
|
||||
MPIconConfigure,
|
||||
MPIconBrowserWindow,
|
||||
MPIconArchive,
|
||||
MPIconPercentage,
|
||||
MPIconSambaUnmount,
|
||||
MPIconHistory,
|
||||
MPIconFindMail,
|
||||
MPIconVector,
|
||||
MPIconMemory,
|
||||
MPIconTrash,
|
||||
MPIconNotes,
|
||||
MPIconCancel,
|
||||
MPIconHelp,
|
||||
MPIconPackage,
|
||||
MPIconFolder,
|
||||
MPIconFolderOpen,
|
||||
MPIconFolderTar,
|
||||
MPIconDecrypted,
|
||||
MPIconEncrypted,
|
||||
MPIconApply,
|
||||
MPIconSignature,
|
||||
MPIconThumbnail,
|
||||
MPIconAddressBook,
|
||||
MPIconTextView,
|
||||
MPIconSecureAccount,
|
||||
MPIconDevelopment,
|
||||
MPIconHome,
|
||||
MPIconServices,
|
||||
MPIconTux,
|
||||
MPIconFeather,
|
||||
MPIconApple,
|
||||
MPIconWiki,
|
||||
MPIconMoney,
|
||||
MPIconCertificat,
|
||||
MPIconPhone,
|
||||
/* Custom Icons not used in Database */
|
||||
MPCustomIconTypeBegin = 1000,
|
||||
MPIconInfo,
|
||||
|
||||
@@ -29,11 +29,11 @@
|
||||
dispatch_once(&onceToken, ^{
|
||||
NSDictionary *imageNames = [MPIconHelper availableIconNames];
|
||||
NSMutableArray *mutableIcons = [[NSMutableArray alloc] initWithCapacity:[imageNames count]];
|
||||
|
||||
|
||||
NSArray *sortedImageNames = [[imageNames allKeys] sortedArrayUsingComparator:^NSComparisonResult(id obj1, id obj2) {
|
||||
return [[imageNames objectForKey:obj1] compare:[imageNames objectForKey:obj2]];
|
||||
return [[imageNames objectForKey:obj1] compare:[imageNames objectForKey:obj2]];
|
||||
}];
|
||||
|
||||
|
||||
for(NSNumber *iconNumber in sortedImageNames) {
|
||||
if([iconNumber integerValue] > MPCustomIconTypeBegin) {
|
||||
continue; // Skip all non-db Keys
|
||||
@@ -48,25 +48,25 @@
|
||||
|
||||
|
||||
+ (NSArray *)databaseIconTypes {
|
||||
static NSArray *iconTypes;
|
||||
static dispatch_once_t onceToken;
|
||||
dispatch_once(&onceToken, ^{
|
||||
NSDictionary *imageNames = [MPIconHelper availableIconNames];
|
||||
NSMutableArray *mutableIcons = [[NSMutableArray alloc] initWithCapacity:[imageNames count]];
|
||||
|
||||
NSArray *sortedImageNames = [[imageNames allKeys] sortedArrayUsingComparator:^NSComparisonResult(id obj1, id obj2) {
|
||||
return [[imageNames objectForKey:obj1] compare:[imageNames objectForKey:obj2]];
|
||||
}];
|
||||
|
||||
for(NSNumber *iconNumber in sortedImageNames) {
|
||||
if([iconNumber integerValue] > MPCustomIconTypeBegin) {
|
||||
continue; // Skip all non-db Keys
|
||||
}
|
||||
[mutableIcons addObject:iconNumber];
|
||||
}
|
||||
iconTypes = [mutableIcons copy];
|
||||
});
|
||||
return iconTypes;
|
||||
static NSArray *iconTypes;
|
||||
static dispatch_once_t onceToken;
|
||||
dispatch_once(&onceToken, ^{
|
||||
NSDictionary *imageNames = [MPIconHelper availableIconNames];
|
||||
NSMutableArray *mutableIcons = [[NSMutableArray alloc] initWithCapacity:[imageNames count]];
|
||||
|
||||
NSArray *sortedImageNames = [[imageNames allKeys] sortedArrayUsingComparator:^NSComparisonResult(id obj1, id obj2) {
|
||||
return [[imageNames objectForKey:obj1] compare:[imageNames objectForKey:obj2]];
|
||||
}];
|
||||
|
||||
for(NSNumber *iconNumber in sortedImageNames) {
|
||||
if([iconNumber integerValue] > MPCustomIconTypeBegin) {
|
||||
continue; // Skip all non-db Keys
|
||||
}
|
||||
[mutableIcons addObject:iconNumber];
|
||||
}
|
||||
iconTypes = [mutableIcons copy];
|
||||
});
|
||||
return iconTypes;
|
||||
}
|
||||
|
||||
|
||||
@@ -96,28 +96,71 @@
|
||||
@(MPIconDisplay): @"18_DisplayTemplate",
|
||||
@(MPIconEmail): @"19_EmailTemplate",
|
||||
@(MPIconMisc): @"20_MiscTemplate",
|
||||
|
||||
@(MPIconOrganizer): @"21_OrganizerTemplate",
|
||||
@(MPIconASCII): @"22_ASCIITemplate",
|
||||
@(MPIconIcons): @"23_IconsTemplate",
|
||||
@(MPIconEstablishedConnection): @"24_EstablishedConnectionTemplate",
|
||||
@(MPIconMailFolder): @"25_MailFolderTemplate",
|
||||
@(MPIconFileSave): @"26_FileSaveTemplate",
|
||||
|
||||
@(MPIconNFSUnmount) :@"27_NFSUnmountTemplate",
|
||||
@(MPIconQuickTime) : @"28_QuickTimeTemplate",
|
||||
@(MPIconSecureTerminal) : @"29_SecureTerminalTemplate",
|
||||
@(MPIconTerminal) : @"30_TerminalTemplate",
|
||||
@(MPIconPrint) : @"31_PrintTemplate",
|
||||
|
||||
@(MPIconFileSystemView) : @"32_FileSystemViewTemplate",
|
||||
@(MPIconRun) : @"33_RunTemplate",
|
||||
@(MPIconConfigure) : @"34_ConfigureTemplate",
|
||||
@(MPIconBrowserWindow) : @"35_BrowserWindowTemplate",
|
||||
@(MPIconArchive) : @"36_ArchiveTemplate",
|
||||
@(MPIconPercentage) : @"37_PercentageTemplate",
|
||||
@(MPIconSambaUnmount) : @"38_SambaUnmountTemplate",
|
||||
@(MPIconHistory) : @"39_HistoryTemplate",
|
||||
@(MPIconFindMail) : @"40_FindMailTemplate",
|
||||
@(MPIconVector) : @"41_VectorTemplate",
|
||||
@(MPIconMemory) : @"42_MemoryTemplate",
|
||||
@(MPIconTrash): @"43_TrashTemplate",
|
||||
|
||||
@(MPIconNotes) : @"44_NotesTemplate",
|
||||
@(MPIconCancel) : @"45_CancelTemplate",
|
||||
@(MPIconHelp) : @"46_HelpTemplate",
|
||||
@(MPIconPackage) : @"47_PackageTemplate",
|
||||
@(MPIconFolder): @"48_FolderTemplate",
|
||||
|
||||
@(MPIconFolderOpen) : @"49_FolderOpenTemplate",
|
||||
@(MPIconFolderTar) : @"50_FolderTarTemplate",
|
||||
@(MPIconDecrypted) : @"51_DecryptedTemplate",
|
||||
@(MPIconEncrypted) : @"52_EncryptedTemplate",
|
||||
@(MPIconApply) : @"53_ApplyTemplate",
|
||||
@(MPIconSignature) : @"54_SignatureTemplate",
|
||||
@(MPIconThumbnail) : @"55_ThumbnailTemplate",
|
||||
@(MPIconAddressBook) : @"56_AddressBookTemplate",
|
||||
@(MPIconTextView) : @"57_TextViewTemplate",
|
||||
@(MPIconSecureAccount) : @"58_SecureAccountTemplate",
|
||||
@(MPIconDevelopment) : @"59_DevelopmentTemplate",
|
||||
@(MPIconHome) : @"60_HomeTemplate",
|
||||
@(MPIconServices) : @"61_ServicesTemplate",
|
||||
@(MPIconTux) : @"62_TuxTemplate",
|
||||
@(MPIconFeather) : @"63_FeatherTemplate",
|
||||
@(MPIconApple) : @"64_AppleTemplate",
|
||||
@(MPIconWiki) : @"65_WikiTemplate",
|
||||
@(MPIconMoney) : @"66_MoneyTemplate",
|
||||
@(MPIconCertificat) : @"67_CertificatTemplate",
|
||||
@(MPIconPhone): @"68_PhoneTemplate",
|
||||
|
||||
@(MPIconInfo): @"99_InfoTemplate",
|
||||
@(MPIconAddFolder): @"99_AddFolderTemplate",
|
||||
@(MPIconHardDisk): @"99_HarddiskTemplate",
|
||||
@(MPIconCreated): @"99_CreatedTemplate",
|
||||
/* Custom */
|
||||
@(MPIconInfo): @"infoTemplate",
|
||||
@(MPIconAddFolder): @"addFolderTemplate",
|
||||
@(MPIconHardDisk): @"harddiskTemplate",
|
||||
@(MPIconCreated): @"createdTemplate",
|
||||
@(MPIconAddEntry): @"addEntryTemplate",
|
||||
@(MPIconContextTriangle): @"contextTriangleTemplate",
|
||||
|
||||
@(MPIconExpiredEntry): NSImageNameCaution,
|
||||
@(MPIconExpiredGroup): NSImageNameCaution
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
});
|
||||
return imageNames;
|
||||
}
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>2557</string>
|
||||
<string>2558</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
|
||||
Reference in New Issue
Block a user