<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:html="http://www.w3.org/1999/html" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>Ross Burton</title><link>http://www.burtonini.com/blog</link><description>A potted account of Ross' life</description><language>en</language><ttl>60</ttl><dc:creator>Ross Burton</dc:creator><admin:generatorAgent rdf:resource="http://pyblosxom.sourceforge.net/"/><admin:errorReportsTo rdf:resource="mailto:ross@burtonini.com"/><item><title>GTK+ Is My Bitch</title><guid isPermaLink="false">computers/gtk-2007-06-26-13-40</guid><link>http://www.burtonini.com/blog/computers/gtk-2007-06-26-13-40</link><description>Thanks to some pointers from Kris, I've got some subtle new bling in Tasks. The core of the code is ...</description><content:encoded><![CDATA[    <p>
      Thanks to some pointers from Kris, I've got some subtle new bling in
      Tasks.  The core of the code is <a
      href="http://svn.o-hand.com/view/tasks/trunk/libkoto/koto-cell-renderer-pixbuf.c?view=markup">KotoCellRendererPixbuf</a>,
      a <tt>GtkCellRendererPixbuf</tt> subclass which implements the <tt>activate</tt>
      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.
    </p>
    <p>
      <img src="http://burtonini.com/computing/screenshots/tasks-url.png"
        width="240" height="402" alt="Tasks"/>
    </p>
    <p>
      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.
    </p>

    <p>
      <small>NP: <cite>The Herd</cite>, The Herd</small>
    </p>
]]></content:encoded><dc:date>2007-06-26T12:40:00Z</dc:date></item></channel></rss>