Correctly prepent - to argv[0] when a login shell is configured. Closes LP #195043.
This commit is contained in:
parent
08b2f70b20
commit
3bbeb59d71
|
@ -409,6 +409,9 @@ text/plain
|
||||||
if not args:
|
if not args:
|
||||||
args.append (shell)
|
args.append (shell)
|
||||||
|
|
||||||
|
if self.conf.login_shell:
|
||||||
|
args[0] = "-%s"%args[0]
|
||||||
|
|
||||||
dbg ('SEGBUG: Setting WINDOWID')
|
dbg ('SEGBUG: Setting WINDOWID')
|
||||||
os.putenv ('WINDOWID', '%s'%self._vte.get_parent_window().xid)
|
os.putenv ('WINDOWID', '%s'%self._vte.get_parent_window().xid)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue