On 2007-07-26 at 10:25:30 [+0200], Michael Pfeiffer <michael.w.pfeiffer@xxxxxxxxx> wrote: > > Adding attributes to a directory is not supported at the moment. I > > suppose > > it would be sufficient, if the attributes could be specified in > > resource > > definition file, like we do for the MIME DB? > > Thanks, that works! It's implemented now. Place the .rdef file in data/image_directories and add an AddDirectoryToHaikuImage invocation for your directory to HaikuImage. The second parameter is the name of the .rdef file. No need to set SEARCH on it; it is automatically searched in data/image_directories. E.g.: AddDirectoryToHaikuImage home config settings printers "Save as PDF" : home-config-settings-printer-save-as-pdf.rdef ; CU, Ingo