Fix darkness of the background when transparent. Darkness has to be set as 1-darkness to be

compatible with gnome-terminal.
This commit is contained in:
Thomas Meire 2008-01-08 10:08:23 +01:00
parent 2f6f1472fb
commit a9c2d6e410
1 changed files with 2 additions and 2 deletions

View File

@ -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: