On 4 feb 2010, at 00.27, Laurent Daudelin wrote:

> I'm using NSFullUserName() to get the user name of the currently logged user 
> and from my application, the user can open the Accounts preference pane to 
> edit it. Problem is, after the user changes his user name, another call to 
> NSFullUserName() still returns the original user name. Is this a bug or what?


Not sure, but it sounds like something you should file a bug report about in 
any case:

        <http://developer.apple.com/bugreporter/>


> BTW, supporting 10.4 (preventing the user of NSPreferencePanesDirectory, how 
> can one can safely builds the path to "Accounts.prefPane" and make sure it 
> will work even if the system runs under a different language than English?


The file system on Mac OS X is always in English, even though it might be 
presented localized to the user.


j o a r


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to