Bug#579723: hamster-applet: Crashes at start-up
Étienne Loks
etienne.loks at peacefrogs.net
Wed Jul 21 14:01:23 UTC 2010
As the colordepth is not used in these Pixmap objects. The author is going to
simply set it to 1.
For the current version.
--
Étienne Loks
--- facttree.py.origin 2010-07-20 17:23:41.161856511 +0200
+++ facttree.py 2010-07-20 17:22:39.490354401 +0200
@@ -89,7 +101,7 @@
self.box = None
- pixmap = gtk.gdk.Pixmap(None, 10, 10, 24)
+ pixmap = gtk.gdk.Pixmap(None, 10, 10, 1)
_test_context = pixmap.cairo_create()
self._test_layout = _test_context.create_layout()
font = pango.FontDescription(gtk.Style().font_desc.to_string())
@@ -454,7 +466,7 @@
return None
fact = self.data
- pixmap = gtk.gdk.Pixmap(None, 10, 10, 24)
+ pixmap = gtk.gdk.Pixmap(None, 10, 10, 1)
context = pixmap.cairo_create()
layout = context.create_layout()
More information about the pkg-gnome-maintainers
mailing list