Computer icon on Leopard
Computer icon on Leopard
- Subject: Computer icon on Leopard
- From: Leonardo Cassarani <email@hidden>
- Date: Mon, 6 Oct 2008 00:01:28 +0200
Hi all
I've been looking for this everywhere but couldn't find a solution.
Basically I need to get the icon currently associated with the user's
computer, that is the one that appears in the sidebar, or next to the
"Go" -> "Computer" menu item in the Finder. I know where they're all
stored, but I'm looking for a way to access the one relative to the
user's computer model.
I 've tried with both NSWorkspace and Carbon's GetIconRef() but to no
avail. I know I could determine the computer model and manually
associate it with the correct icon, but that would still pose a
problem as there is no way to find out whether the user's using e.g. a
black or white MacBook, whereas Apple does differentiate between the
two.
Thank you in advance.
Leonardo Cassarani
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden