arfbtwn / banshee

http://banshee.fm/
MIT License
6 stars 4 forks source link

TreeView: Duration Column Formatting #16

Closed arfbtwn closed 7 years ago

arfbtwn commented 7 years ago

The adapter setup used in TreeView replaces the text column renderer with the regular GTK text cell renderer but for TimeSpan structures the display isn't humanised - we need to tweak the binder/adapter to provide the same fuzzy formatting as is seen with the ListView.

arfbtwn commented 7 years ago

With luck this won't cause any side-effects, it looks like this is the way that ListView does it - although we'll have one cell context per renderer instead of one per widget, could be an issue later.

commit: 9b104ceee0058549e2df0b16348ed40238d26a8c

arfbtwn commented 7 years ago

Resolved.