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
1 changed files with 2 additions and 0 deletions

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: