• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Computer icon on Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Computer icon on Leopard
      • From: "Ken Ferry" <email@hidden>
  • Prev by Date: re: Should not use mogenerator in Mac OS 10.5+ ?
  • Next by Date: Re: How do I guarantee that an object is dealloced on the main thread?
  • Previous by thread: Re: hyphenationFactor in typesetter and layout manager
  • Next by thread: Re: Computer icon on Leopard
  • Index(es):
    • Date
    • Thread