only actually set the colour as a GdkColor

This commit is contained in:
Chris Jones 2009-07-02 21:35:18 +01:00
parent b3a156c786
commit 2bcff19fa3
1 changed files with 1 additions and 1 deletions

View File

@ -740,7 +740,7 @@ text/plain
# set transparency for the background (image)
opacity = 65535
if background_type in ("image", "transparent"):
self._vte.set_background_tint_color (self.conf.background_color)
self._vte.set_background_tint_color (gtk.gdk.color_parse (self.conf.background_color))
self._vte.set_background_saturation(1 - (self.conf.background_darkness))
opacity = int(self.conf.background_darkness * 65535)
dbg ('H9TRANS: Set background tint color to: %s' % self.conf.background_color)