From 6cdd57c67c8ef3a5eb8704e2ca1f75bdf09abca2 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Tue, 15 Jun 2010 14:54:43 +0100 Subject: [PATCH] This is an ugly, ugly method to be adding, but it's probably necessary, sadly --- terminatorlib/terminal.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/terminatorlib/terminal.py b/terminatorlib/terminal.py index 3c5336c4..462183ab 100755 --- a/terminatorlib/terminal.py +++ b/terminatorlib/terminal.py @@ -159,6 +159,10 @@ class Terminal(gtk.VBox): if self.config['http_proxy'] and self.config['http_proxy'] != '': os.putenv('http_proxy', self.config['http_proxy']) + def get_vte(self): + """This simply returns the vte widget we are using""" + return(self.vte) + def force_set_profile(self, widget, profile): """Forcibly set our profile""" self.set_profile(widget, profile, True)