[Adium-devl] Gradient selection & AIAlternatingRowTableView

David Smith catfish.man at gmail.com
Tue Apr 28 08:36:06 UTC 2009


	I noticed this evening that most of what's actually useful in  
AIAlternatingRowTableView can be made available more conveniently on  
NSTableView; the one bit I couldn't move was gradient selection  
handling. Now, NSTableView has gained the ability to do that in 10.5,  
but it's done by setting the selectionHighlightStyle to  
NSTableViewSelectionHighlightStyleSourceList, which implies a few  
other things as well. I investigated to see if we could use this  
instead of rolling it ourselves, and noticed that most tables in the  
system indeed don't use gradient selection.
	So, I'm proposing that we only use gradient selection for the contact  
list (it's totally nonstandard anyway) and source lists, and turn it  
off for our few other tableviews to match the rest of the OS. Any  
objections? I'll hold off on pushing the rest of this for now; http://hg.adiumx.com/adium/rev/07f303adc40d 
  was before I'd really thought this through, I'll revert it if the  
consensus is no.

					David




More information about the devel mailing list