From a9c2d6e41082a2d345cb9adb0fcfdd7d981bb406 Mon Sep 17 00:00:00 2001 From: Thomas Meire Date: Tue, 8 Jan 2008 10:08:23 +0100 Subject: [PATCH] Fix darkness of the background when transparent. Darkness has to be set as 1-darkness to be compatible with gnome-terminal. --- terminator | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terminator b/terminator index da8bf348..505f2454 100755 --- a/terminator +++ b/terminator @@ -244,8 +244,8 @@ class TerminatorTerm: self._vte.set_background_transparent (False) if background_type == "transparent": self._vte.set_background_transparent (True) - self._vte.set_background_saturation (self.gconf_client.get_float (self.profile + "/background_darkness") or self.defaults['background_darkness']) - + self._vte.set_background_saturation (1 - (self.gconf_client.get_float (self.profile + "/background_darkness") or self.defaults['background_darkness'])) + colors = palette.split (':') palette = [] for color in colors: