Inheriting profile on a split in tabbed pane.

This commit is contained in:
Przemek Wesolek 2011-11-05 16:58:39 +01:00
parent 6d6d73568d
commit f5cd4b053d
1 changed files with 2 additions and 0 deletions

View File

@ -136,6 +136,8 @@ class Notebook(Container, gtk.Notebook):
sibling = maker.make('terminal') sibling = maker.make('terminal')
sibling.set_cwd(cwd) sibling.set_cwd(cwd)
sibling.spawn_child() sibling.spawn_child()
if sibling:
sibling.force_set_profile(None, widget.get_profile())
self.insert_page(container, None, page_num) self.insert_page(container, None, page_num)
self.set_tab_reorderable(container, True) self.set_tab_reorderable(container, True)