From 400479c8e7596578e3b967cdd2202ce1092aef7e Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Wed, 28 May 2008 09:20:47 +0100 Subject: [PATCH] Allow controlling borderless/maximise/fullscreen options via config stores --- terminator | 7 ++++--- terminatorlib/config.py | 3 +++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/terminator b/terminator index 94c4048e..e5af6f64 100755 --- a/terminator +++ b/terminator @@ -874,13 +874,13 @@ class Terminator: self.window.set_property ('allow-shrink', True) - if fullscreen: + if fullscreen or self.conf.fullscreen: self.fullscreen_toggle () - if maximise: + if maximise or self.conf.maximise: self.maximize () - if borderless: + if borderless or self.conf.borderless: self.window.set_decorated (False) # Set RGBA colormap if possible so VTE can use real alpha @@ -989,6 +989,7 @@ class Terminator: """ vertical = pos in ("top", "bottom") pane = (vertical) and gtk.VPaned () or gtk.HPaned () + pane.handle_size = 1 # get the parent of the provided terminal parent = widget.get_parent () diff --git a/terminatorlib/config.py b/terminatorlib/config.py index ecd85187..e52dbb7c 100755 --- a/terminatorlib/config.py +++ b/terminatorlib/config.py @@ -115,6 +115,9 @@ class TerminatorConfValuestore: 'active_encodings' : ['UTF-8', 'ISO-8859-1'], 'background_image' : '', 'extreme_tabs' : False, + 'fullscreen' : False, + 'borderless' : False, + 'maximise' : False, } def __getattr__ (self, keyname):