• 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
Updating the Trash icon in OS 10.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Updating the Trash icon in OS 10.1


  • Subject: Updating the Trash icon in OS 10.1
  • From: Chad Armstrong <email@hidden>
  • Date: Mon, 27 Oct 2003 23:54:23 -0600

Has anyone discovered a way to update the Trash icon in Mac OS 10.1? I
used this method in Jaguar:

[[NSWorkspace sharedWorkspace] noteFileSystemChanged:[@"~/.Trash/"
stringByExpandingTildeInPath]];.

However, this doesn't seem to work in 10.1. I found the images
trashempty.png and trashfull.png in
/System/Library/CoreServices/Dock/Contents/Resources/ directory, so it
is my guess that if there is a way to communicate with the Dock to
update the Trash icon, that might work. Is this possible, or is the
Dock's functionality a closed part of the OS?

Chad Armstrong
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • how to move files to trash?
      • From: Sascha Kujawa <email@hidden>
  • Prev by Date: Re: Disk Copy
  • Next by Date: Re: Disk Copy
  • Previous by thread: Re: makekeyandorderfront
  • Next by thread: how to move files to trash?
  • Index(es):
    • Date
    • Thread