add preferences file icon association

This commit is contained in:
cy384 2020-09-19 23:02:58 -04:00
parent 69dc52ec12
commit 18673fa840
1 changed files with 9 additions and 3 deletions

View File

@ -384,15 +384,21 @@ resource 'SSH7' (0, purgeable) {
}; };
#include "Finder.r" #include "Finder.r"
resource 'FREF' (128, purgeable) { /* application -> icon relation */
resource 'FREF' (SSHEVEN_APPLICATION_ICON, purgeable) {
'APPL', 0, "" 'APPL', 0, ""
}; };
/* preferences file -> icon relation */
resource 'FREF' (SSHEVEN_FILE_ICON, purgeable) {
'SH7p', 1, ""
};
resource 'BNDL' (128, purgeable) { resource 'BNDL' (128, purgeable) {
'SSH7', 0, 'SSH7', 0,
{ {
'ICN#', {0, SSHEVEN_APPLICATION_ICON}, 'ICN#', {0, SSHEVEN_APPLICATION_ICON, 1, SSHEVEN_FILE_ICON},
'FREF', {0, 128} 'FREF', {0, SSHEVEN_APPLICATION_ICON, 1, SSHEVEN_FILE_ICON}
} }
}; };