Was this really an issue?  Author and Editor should have been in the  
Info.plist ever since BDSKPersonFieldsKey was added to prefs.

On Dec 15, 2007, at 5:37 AM, [EMAIL PROTECTED] wrote:

> Revision: 11920
>          http://bibdesk.svn.sourceforge.net/bibdesk/? 
> rev=11920&view=rev
> Author:   hofman
> Date:     2007-12-15 05:37:48 -0800 (Sat, 15 Dec 2007)
>
> Log Message:
> -----------
> Enforce Author and Editor as person fields.
>
>
> +    // enforce Author and Editor as person fields
> +    NSArray *personFields = [pw  
> stringArrayForKey:BDSKPersonFieldsKey];
> +    int idx = 0;
> +    if ([personFields containsObject:BDSKAuthorString] == NO ||  
> [personFields containsObject:BDSKEditorString] == NO) {
> +        personFields  = [personFields mutableCopy];
> +        if ([personFields containsObject:BDSKAuthorString] == NO)
> +            [(NSMutableArray *)personFields  
> insertObject:BDSKAuthorString atIndex:idx++];
> +        if ([personFields containsObject:BDSKEditorString] == NO)
> +            [(NSMutableArray *)personFields  
> insertObject:BDSKEditorString atIndex:idx];
> +        [pw setObject:personFields forKey:BDSKPersonFieldsKey];
> +        [personFields release];
> +    }
> +

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Bibdesk-develop mailing list
Bibdesk-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-develop

Reply via email to