Tasks 0.9
After fixing a few bugs, cleaning up the source code, and even adding a few new features, Tasks 0.9 is ready.
Most of the changes were internal, but there are a few user-visible changes.
- Show icon in the main task view when a task has a URL
- When clicking on the URL icons, start a web browser
- Revert the group when cancelling New Group
- Make the editor dialog two pane, with Notes on a seperate pane
GTK+ Is My Bitch
Thanks to some pointers from Kris, I've got some subtle new bling in Tasks. The core of the code is KotoCellRendererPixbuf, a GtkCellRendererPixbuf subclass which implements the activate virtual method, so that it is clickable. However because the other renderer in the column is not activatable (a text renderer), clicking on the row activates the pixbuf renderer. A quick bit of logic in the activate virtual function to look at where was clicked solves this, and now Tasks shows clickable icons when a task has a URL set.
I particularly like how space for the icon isn't allocated in every row, so if there is no icon the text extends all the way across the view.
NP: The Herd, The Herd