From d2e4e99226e2074f0d09dc9baeadc2e7f7e31c25 Mon Sep 17 00:00:00 2001 From: John (J5) Palmieri Date: Fri, 10 Aug 2007 17:32:24 +0000 Subject: hack to make sure vte does not wrap too early in first instance * vte does not reflow if you add the widget before its container is realized so we hack around this by calling set_size with a high number for width --- (limited to 'services') diff --git a/services/console/interface/terminal/terminal.py b/services/console/interface/terminal/terminal.py index 5eebfb3..4aba858 100644 --- a/services/console/interface/terminal/terminal.py +++ b/services/console/interface/terminal/terminal.py @@ -32,7 +32,7 @@ class Terminal(gtk.HBox): self._vte = vte.Terminal() self._configure_vte() - self._vte.set_size(30, 5) + self._vte.set_size(100, 5) self._vte.set_size_request(200, 450) self._vte.show() self.pack_start(self._vte) -- cgit v0.9.1