[TxMt] creating new extension and icon

José Campos jose.campos+tm at galacsys.com
Mon Aug 15 08:24:40 UTC 2005


Hi,

    Trying to link specific icons to a new extension "*.perso", 
        - I have created a set of icons I named "perso.icns" 
        - and put it in "Textmate/Contents/Resources"
        - then edit "Textmate/Contents/info.plist" and add : 

8<---
        <dict>
            <key>CFBundleTypeExtensions</key>
            <array>
                <string>perso</string>
            </array>
            <key>CFBundleTypeIconFile</key>
            <string>perso</string>
            <key>CFBundleTypeName</key>
            <string>Plain text document</string>
        </dict>
8<---

    But when I create a new document with the "perso" extension, it
comes with a blank icon (with upper right corner folded). The set of
icons I've created seems to work well when I replace an existing set
(log.icns for instance) with this set.

    So, which step did I miss?

    Thanks,
-- 
  Jo                                         <W:00°04'37" ; N:47°15'36">

1....'....12.....'....24.....'....36.....'....48.....'....60.....'....72



More information about the textmate mailing list