From 2bcff19fa3eef78dc3e85eae21d11c381d43e5d0 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Thu, 2 Jul 2009 21:35:18 +0100 Subject: [PATCH] only actually set the colour as a GdkColor --- terminatorlib/terminatorterm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminatorlib/terminatorterm.py b/terminatorlib/terminatorterm.py index 5722d423..872ddf0d 100755 --- a/terminatorlib/terminatorterm.py +++ b/terminatorlib/terminatorterm.py @@ -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)