From 4db7df5ea120f84e1604dd28b54cacceca39d03f Mon Sep 17 00:00:00 2001 From: Matt Rose Date: Sun, 21 Jun 2020 11:44:26 -0400 Subject: [PATCH] replaces the handle_size property that was deprecated in gtk3.20 --- terminatorlib/terminator.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/terminatorlib/terminator.py b/terminatorlib/terminator.py index a966d8e2..5e6c85a9 100644 --- a/terminatorlib/terminator.py +++ b/terminatorlib/terminator.py @@ -541,10 +541,11 @@ class Terminator(Borg): css = "" if self.config['handle_size'] in range(0, 21): css += """ - .terminator-terminal-window GtkPaned, - .terminator-terminal-window paned { - -GtkPaned-handle-size: %s; } - """ % self.config['handle_size'] + .terminator-terminal-window separator { + min-height: %spx; + min-width: %spx; + } + """ % (self.config['handle_size'],self.config['handle_size']) style_provider = Gtk.CssProvider() style_provider.load_from_data(css.encode('utf-8')) self.style_providers.append(style_provider)