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.

21:15 Tuesday, 26 Jun 2007 [#] [computers] (7 comments)

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.

Tasks

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

13:40 Tuesday, 26 Jun 2007 [#] [computers] (9 comments)