barest minimum of a fix for LP #129104
This commit is contained in:
parent
3d1b206a80
commit
7410072da1
2
AUTHORS
2
AUTHORS
@ -1 +1,3 @@
|
||||
Chris Jones <cmsj@tenshu.net>
|
||||
|
||||
Draws heavily from the example python-vte code and the gedit terminal plugin
|
||||
|
@ -15,6 +15,8 @@
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
import os
|
||||
import pwd
|
||||
import sys
|
||||
import string
|
||||
import gobject
|
||||
@ -112,7 +114,8 @@ class TerminatorTerm:
|
||||
if self.gconf_client.get_bool (self.profile + "/use_custom_command") == True:
|
||||
self._vte.fork_command (self.gconf_client.get_string (self.profile + "/custom_command"))
|
||||
else:
|
||||
self._vte.fork_command ()
|
||||
shell = pwd.getpwuid (os.getuid ())[6]
|
||||
self._vte.fork_command (command=shell, argv=[os.path.basename (shell)], envv=[])
|
||||
|
||||
def reconfigure_vte (self):
|
||||
if ((self.lastreconfigure != 0) and (time.time () - self.lastreconfigure) < 5):
|
||||
|
Loading…
Reference in New Issue
Block a user