[hamster-applet/gnome-2-30] no point in requesting 24 bit colors for the test context. fixes bug 624810



commit 6cc21f69977668ac8a8e7fd1018032a5ab762675
Author: Toms Bauģis <toms baugis gmail com>
Date:   Wed Jul 21 12:19:30 2010 +0100

    no point in requesting 24 bit colors for the test context. fixes bug 624810

 src/hamster/widgets/facttree.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/hamster/widgets/facttree.py b/src/hamster/widgets/facttree.py
index 836c643..952b6b3 100644
--- a/src/hamster/widgets/facttree.py
+++ b/src/hamster/widgets/facttree.py
@@ -91,7 +91,7 @@ class FactTree(gtk.TreeView):
         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())



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]