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



commit 970a9716c0b6b5e72129a543cb700f56c59b86db
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 1d96b4a..798e7db 100644
--- a/src/hamster/widgets/facttree.py
+++ b/src/hamster/widgets/facttree.py
@@ -95,7 +95,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]