ladilog: fix drawing of first vte

it didnt worked on gentoo with vte-0.22.4
resizing the window made the text appear
problem is reproduced only when ion3 is forcing window resize,
it does not happen in float workspaces for example.

git-svn-id: svn+ssh://svn.marcochapeau.org/laditools/trunk@222 bfe161da-02ef-4cea-8c43-ae261ea21ac6
This commit is contained in:
nedko 2009-11-22 10:58:44 +00:00
parent 22331447f0
commit 5e92e860e4
1 changed files with 5 additions and 2 deletions

View File

@ -123,9 +123,8 @@ class ladilog (gtk.glade.XML):
self.logview_notebook = self.get_widget ("ladilog_notebook")
for log in self.log_files:
self.logview_notebook.append_page (log["term"])
self.logview_notebook.set_tab_label (log["term"], log["tab_label"])
log['term'].show ()
# Make it do something...
for log in self.log_files:
try:
@ -140,6 +139,10 @@ class ladilog (gtk.glade.XML):
except:
print "Unexpected error:", sys.exc_info ()[0]
for log in self.log_files:
self.logview_notebook.append_page (log["term"])
self.logview_notebook.set_tab_label (log["term"], log["tab_label"])
self.auto_updater = timeout_add(250, self.update)
def update(self):