Fix the oversight of not clearing the css string if the handle size is -1, resulting in styling getting trashed by the previous declarations

This commit is contained in:
Stephen Boddy 2016-12-11 19:32:22 +01:00
parent 4fcbabdab5
commit 117c5c8f0d
1 changed files with 2 additions and 1 deletions

View File

@ -458,8 +458,9 @@ class Terminator(Borg):
break
# Size the GtkPaned splitter handle size.
css = ""
if self.config['handle_size'] in xrange(0, 21):
css = """
css += """
.terminator-terminal-window GtkPaned {
-GtkPaned-handle-size: %s; }
""" % self.config['handle_size']