From e494f07769bfdca693c783a7d3df57564e5404ff Mon Sep 17 00:00:00 2001 From: Iain Lane Date: Wed, 1 Feb 2017 10:59:11 +0000 Subject: [PATCH 1/2] Fix transparency for GTK 3.20 themes too --- terminatorlib/terminator.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/terminatorlib/terminator.py b/terminatorlib/terminator.py index 977d8603..a1ba7332 100755 --- a/terminatorlib/terminator.py +++ b/terminatorlib/terminator.py @@ -404,7 +404,8 @@ class Terminator(Borg): .terminator-terminal-window { background-color: alpha(@theme_bg_color,0); } - .terminator-terminal-window .notebook.header { + .terminator-terminal-window .notebook.header, + .terminator-terminal-window notebook header { background-color: @theme_bg_color; } .terminator-terminal-window .pane-separator { @@ -417,7 +418,8 @@ class Terminator(Borg): # Fix several themes that put a borders, corners, or backgrounds around # viewports, making the titlebar look bad. css += """ - .terminator-terminal-window GtkViewport { + .terminator-terminal-window GtkViewport, + .terminator-terminal-window viewport { border-width: 0px; border-radius: 0px; background-color: transparent; } From f23f46450872a50e32e4ff657c561aff9b361944 Mon Sep 17 00:00:00 2001 From: Iain Lane Date: Wed, 1 Feb 2017 11:04:50 +0000 Subject: [PATCH 2/2] Fix 3.20 css in another place --- terminatorlib/terminator.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/terminatorlib/terminator.py b/terminatorlib/terminator.py index a1ba7332..eba5cac0 100755 --- a/terminatorlib/terminator.py +++ b/terminatorlib/terminator.py @@ -487,7 +487,8 @@ class Terminator(Borg): css = "" if self.config['handle_size'] in xrange(0, 21): css += """ - .terminator-terminal-window GtkPaned { + .terminator-terminal-window GtkPaned, + .terminator-terminal-window paned { -GtkPaned-handle-size: %s; } """ % self.config['handle_size'] style_provider = Gtk.CssProvider()