So. Here we have a very naive patch, which seems to work, but probably just hides the problem.
/usr/lib/python2.6/dist-packages/hamster/widgets/facttree.py, lines 98 ff (on my version) class FactTree(gtk.TreeView): def __init__(self):
old: <code> pixmap = gtk.gdk.Pixmap(None, 10, 10, 24) _test_context = pixmap.cairo_create() self._test_layout = _test_context.create_layout() </code>
new: <code> pixmap = gtk.gdk.Pixmap(None, 10, 10, 24) """ patch """ try : _test_context = pixmap.cairo_create() except : return self._test_layout = _test_context.create_layout() </code>
So. Here we have a very naive patch, which seems to work, but probably just hides the problem.
/usr/lib/ python2. 6/dist- packages/ hamster/ widgets/ facttree. py, lines 98 ff (on my version) gtk.TreeView) : def __init__(self):
class FactTree(
old: Pixmap( None, 10, 10, 24)
_test_ context = pixmap. cairo_create( )
self._ test_layout = _test_context. create_ layout( )
<code>
pixmap = gtk.gdk.
</code>
new: Pixmap( None, 10, 10, 24)
_test_ context = pixmap. cairo_create( )
self._ test_layout = _test_context. create_ layout( )
<code>
pixmap = gtk.gdk.
""" patch """
try :
except :
return
</code>