only do session handling if we have a gnome_client

This commit is contained in:
Chris Jones 2008-10-16 11:43:50 +01:00
parent 19619bff98
commit b623f662e8
1 changed files with 21 additions and 19 deletions

View File

@ -104,6 +104,7 @@ class Terminator:
self.debugaddress = None
self.start_cwd = os.getcwd()
self.term_list = []
self.gnome_client = None
stores = []
stores.append (config.TerminatorConfValuestoreRC ())
@ -272,6 +273,7 @@ class Terminator:
if self._fullscreen:
args.append('--fullscreen')
if self.gnome_client:
# We can't set an interpreter because Gnome unconditionally spams it with
# --sm-foo-bar arguments before our own argument list. *mutter*
# So, hopefully your #! line is correct. If not, we could write out