Merge bug fix from Steve Boddy. Closes LP#1192960
This commit is contained in:
commit
a3ac583732
|
@ -260,6 +260,9 @@ the %s will also close all terminals within it.') % (reqtype, reqtype))
|
||||||
if hasattr(self, 'get_size'):
|
if hasattr(self, 'get_size'):
|
||||||
layout['size'] = self.get_size()
|
layout['size'] = self.get_size()
|
||||||
|
|
||||||
|
if hasattr(self, 'title'):
|
||||||
|
layout['title'] = self.title.text
|
||||||
|
|
||||||
labels = []
|
labels = []
|
||||||
if mytype == 'Notebook':
|
if mytype == 'Notebook':
|
||||||
for tabnum in xrange(0, self.get_n_pages()):
|
for tabnum in xrange(0, self.get_n_pages()):
|
||||||
|
|
|
@ -249,6 +249,8 @@ class Terminator(Borg):
|
||||||
winy = int(parts[1])
|
winy = int(parts[1])
|
||||||
if winx > 1 and winy > 1:
|
if winx > 1 and winy > 1:
|
||||||
window.resize(winx, winy)
|
window.resize(winx, winy)
|
||||||
|
if layout[windef].has_key('title'):
|
||||||
|
window.title.force_title(layout[windef]['title'])
|
||||||
|
|
||||||
def layout_done(self):
|
def layout_done(self):
|
||||||
"""Layout operations have finished, record that fact"""
|
"""Layout operations have finished, record that fact"""
|
||||||
|
|
Loading…
Reference in New Issue