diff options
author | Gonzalo Odiard <godiard@sugarlabs.org> | 2011-05-16 15:34:19 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@sugarlabs.org> | 2011-05-16 15:34:19 (GMT) |
commit | 200e2d208e8bd61181762b00020934159c813ee7 (patch) | |
tree | bcd207d8d2b31a0f740f4d93729dbe6c143bf921 /widgets.py | |
parent | acb7bb09d0dcc5bc80b2c8f307469a522b7e12a4 (diff) |
Resolve crash in XO-1 - OLPC 10854
The problem was a pixmap defined with depth 24.
Works ok in XO-1.5 but in XO-1.
Using -1 thew pixmap is created with the default depth.
Diffstat (limited to 'widgets.py')
-rw-r--r-- | widgets.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -56,7 +56,7 @@ class BrushButton(_ColorButton): self._preview.show() self.pixmap = gtk.gdk.Pixmap(self.get_window(), style.STANDARD_ICON_SIZE, - style.STANDARD_ICON_SIZE, 24) + style.STANDARD_ICON_SIZE, -1) self._gc = self.get_window().new_gc() self.show_all() |