From b3a156c7865e376890f1870a405bed36975e154d Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Thu, 2 Jul 2009 21:30:53 +0100 Subject: [PATCH] I think this is more correct. the theme_colors setting elsewhere should only apply to font settings, not terminal colours --- terminatorlib/terminatorterm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terminatorlib/terminatorterm.py b/terminatorlib/terminatorterm.py index 27ad6df7..5722d423 100755 --- a/terminatorlib/terminatorterm.py +++ b/terminatorlib/terminatorterm.py @@ -740,10 +740,10 @@ text/plain # set transparency for the background (image) opacity = 65535 if background_type in ("image", "transparent"): - self._vte.set_background_tint_color (bg_color) + self._vte.set_background_tint_color (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' % bg_color) + dbg ('H9TRANS: Set background tint color to: %s' % self.conf.background_color) dbg ('H9TRANS: Set background saturation to: %s' % (1 - (self.conf.background_darkness))) else: dbg ('H9TRANS: Set background saturation to: 1')