Set window size after applying font config to ensure a 80x24 terminal.

This commit is contained in:
Andre Hilsendeger 2012-04-14 13:15:50 +02:00
parent 32eb6f9d5e
commit 5c1bd46177
1 changed files with 2 additions and 1 deletions

View File

@ -133,7 +133,6 @@ class Terminal(gtk.VBox):
dbg('assigning Terminal a TERMINATOR_UUID of: %s' % self.uuid.urn)
self.vte = vte.Terminal()
self.vte.set_size(80, 24)
self.vte._expose_data = None
if not hasattr(self.vte, "set_opacity") or \
not hasattr(self.vte, "is_composited"):
@ -173,6 +172,8 @@ class Terminal(gtk.VBox):
if not env_proxy:
if self.config['http_proxy'] and self.config['http_proxy'] != '':
os.putenv('http_proxy', self.config['http_proxy'])
self.reconfigure()
self.vte.set_size(80, 24)
def get_vte(self):
"""This simply returns the vte widget we are using"""