dbg() which kind of colormap we're setting
This commit is contained in:
parent
e3cbb3e717
commit
7b0bb5818d
|
@ -227,8 +227,10 @@ class Window(Container, gtk.Window):
|
||||||
"""Enable RGBA if supported on the current screen"""
|
"""Enable RGBA if supported on the current screen"""
|
||||||
screen = self.get_screen()
|
screen = self.get_screen()
|
||||||
if value:
|
if value:
|
||||||
|
dbg('setting rgba colormap')
|
||||||
colormap = screen.get_rgba_colormap()
|
colormap = screen.get_rgba_colormap()
|
||||||
else:
|
else:
|
||||||
|
dbg('setting rgb colormap')
|
||||||
colormap = screen.get_rgb_colormap()
|
colormap = screen.get_rgb_colormap()
|
||||||
|
|
||||||
if colormap:
|
if colormap:
|
||||||
|
|
Loading…
Reference in New Issue