only do session handling if we have a gnome_client
This commit is contained in:
parent
19619bff98
commit
b623f662e8
|
@ -104,6 +104,7 @@ class Terminator:
|
||||||
self.debugaddress = None
|
self.debugaddress = None
|
||||||
self.start_cwd = os.getcwd()
|
self.start_cwd = os.getcwd()
|
||||||
self.term_list = []
|
self.term_list = []
|
||||||
|
self.gnome_client = None
|
||||||
stores = []
|
stores = []
|
||||||
stores.append (config.TerminatorConfValuestoreRC ())
|
stores.append (config.TerminatorConfValuestoreRC ())
|
||||||
|
|
||||||
|
@ -272,6 +273,7 @@ class Terminator:
|
||||||
if self._fullscreen:
|
if self._fullscreen:
|
||||||
args.append('--fullscreen')
|
args.append('--fullscreen')
|
||||||
|
|
||||||
|
if self.gnome_client:
|
||||||
# We can't set an interpreter because Gnome unconditionally spams it with
|
# We can't set an interpreter because Gnome unconditionally spams it with
|
||||||
# --sm-foo-bar arguments before our own argument list. *mutter*
|
# --sm-foo-bar arguments before our own argument list. *mutter*
|
||||||
# So, hopefully your #! line is correct. If not, we could write out
|
# So, hopefully your #! line is correct. If not, we could write out
|
||||||
|
|
Loading…
Reference in New Issue