fixed hide

This commit is contained in:
Chris James 2008-07-28 03:54:30 -05:00
parent 436c7be758
commit 58747628a5
1 changed files with 4 additions and 4 deletions

View File

@ -95,8 +95,7 @@ class Terminator:
self._maximised = False self._maximised = False
self._fullscreen = False self._fullscreen = False
self._f11_modifier = False self._f11_modifier = False
self.hidden = False
self.term_list = [] self.term_list = []
stores = [] stores = []
stores.append (config.TerminatorConfValuestoreRC ()) stores.append (config.TerminatorConfValuestoreRC ())
@ -169,8 +168,6 @@ class Terminator:
if borderless or self.conf.borderless: if borderless or self.conf.borderless:
self.window.set_decorated (False) self.window.set_decorated (False)
if hidden or self.conf.hidden:
self.hide()
# Set RGBA colormap if possible so VTE can use real alpha # Set RGBA colormap if possible so VTE can use real alpha
# channels for transparency. # channels for transparency.
@ -190,6 +187,9 @@ class Terminator:
self.window.show () self.window.show ()
term.spawn_child () term.spawn_child ()
if hidden or self.conf.hidden:
self.hide()
# jgc: show/hide functions for quake mode # jgc: show/hide functions for quake mode
def show(self): def show(self):
"""Show the terminator window""" """Show the terminator window"""