dbg() which kind of colormap we're setting

This commit is contained in:
Chris Jones 2010-01-21 20:36:02 +00:00
parent e3cbb3e717
commit 7b0bb5818d

View File

@ -227,8 +227,10 @@ class Window(Container, gtk.Window):
"""Enable RGBA if supported on the current screen"""
screen = self.get_screen()
if value:
dbg('setting rgba colormap')
colormap = screen.get_rgba_colormap()
else:
dbg('setting rgb colormap')
colormap = screen.get_rgb_colormap()
if colormap: