GNOME Bugzilla – Bug 333760
Allow for more extensive row background theming
Last modified: 2006-04-26 12:48:36 UTC
We could allow for more extensive row background theming, by drawing the backgrounds of the most left and most right columns differently (rounded corners, different color or gradient, whatever ;). I am attaching a patch which adds a style property called "row-ending-detail", FALSE by default. By default the old way of drawing the backgrounds (using one of cell_even, cell_odd, cell_even_ruled, etc, etc) will be used. When that property is TRUE, "left", "middle", or "right" will be appended to the detail. It will do this for the row backgrounds, focus cursor and drop indicator. (I am not yet 100% sure about this feature, though).
Created attachment 60843 [details] [review] first take at a patch Oh, and I don't really like the snprintf() bit in there...
do you have a screenshot of this in action ?
maemo-gtk, default theme (the cursor there has "rounded" corners (of only a single pixel though)). No other screenshots, somebody will have to create a nice theme using this i guess ;)
I agree that the snprintf needs to go. Can't you just make those string constants statics, and then compare pointers ?
We couldn't come up with a less messy plan for handling this, so the snprintfs stayed. Committed on HEAD.