w0lfschild/colorfulSidebar

Different icon for highlighted sidebar icons?

Closed this issue · 1 comments

Looking at the class dump for finder

https://github.com/pombredanne/osx_headers/blob/master/CoreServices/Finder/TSidebarItemCell.h

It appears there is a way to way to override drawSidebarIcon which has highlighted as a parameter. This is also what dropbox appears to do in their injection as their icon reacts appropriately when highlighted.

No need, figured it out. Key is setTemplate:

#1 (comment)