Update:
Aye, it's a method in the Mail Support Element.xcodproj
NSString *defaultMailClientID(){
NSURL *appURL = nil;
OSStatus err;
err = LSGetApplicationForURL((CFURLRef)[NSURL URLWithString: @"mailto:"
],kLSRolesAll, NULL, (CFURLRef *)&appURL);
if (err != noErr){
NSLog(@"No default mail client found. Error %ld", err);
return nil;
}
NSDictionary *infoDict=(NSDictionary *)CFBundleCopyInfoDictionaryForURL
((CFURLRef)appURL);
[infoDict autorelease];
return [infoDict objectForKey:(NSString *)kCFBundleIdentifierKey];
}
Somebody with some time may like to have a look at it...
On 24 May 2010 19:36, Patrick Robertson <[email protected]> wrote:
> The actions pick up their icons from each plugins .plist file
>
> e.g. for the compress plugin you need to go into ~/Library/Application
> Support/Plugins/File Compression Module.qsplugin/contents/info.plist
>
> I've just had a delve myself and it looks like Apple changed the archive
> utility from com.apple.BOMArchivehelper to com.apple.archiveutility
>
> If you change the 'icon' setting(s) in that plist to the above it should
> get the icon back.
>
> As for the mail plugin, it looks like it used to use some kind of method
> called defaultMailClient which probably now fails somewhere in QS
> itself...I'll update it when I get time.
>
> For the time being you could change the entries to e.g. com.apple.mail or
> whatever email client you use.
>
> Patrick
>
> On 24 May 2010 19:21, sclough <[email protected]> wrote:
>
>> For example, the "compose" and "compress" actions on QS on my machine
>> now use the default quite box rather than the icons they used to use.
>> I'm not sure why the icons have disappeared (and I've tried re-
>> downloading and installing), but I'm wondering if anyone knows how and
>> where QS loads these icons from so that I could manually provide them
>> to the QS.app folder. I know it may seem trivial, but those white
>> boxes are really annoying me...
>>
>
>