Allow controlling borderless/maximise/fullscreen options via config stores

This commit is contained in:
Chris Jones 2008-05-28 09:20:47 +01:00
parent 485cdf545e
commit 400479c8e7
2 changed files with 7 additions and 3 deletions

View File

@ -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 ()

View File

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