In Objective-c/Cocoa, how do I get the icon that Finder uses for the desktop (it looks like the black/pink nebula desktop image with a menu bar and dock).
I tried this:
NSImage *icon = [[NSWorkspace sharedWorkspace]
iconForFileType: NSFileTypeForHFSTypeCode(kDesktopIcon)];
But all I get is a blue folder with a ghosted desktop-looking box on it. Is there another constant that provides this icon, or another method altogether for getting the icon?