diff --git a/terminator b/terminator index c88d638a..9cd4a9f7 100755 --- a/terminator +++ b/terminator @@ -1171,8 +1171,12 @@ class Terminator: ## Now, we set focus on the new term notebook.set_current_page(-1) terminal._vte.grab_focus () - - index = self.term_list.index(widget) + + #adding a new tab, thus we need to get the + # last term of the previous tab and add + # the new term just after + sibling = self._notebook_last_term(notebook.get_nth_page(notebook.page_num(terminal)-1)) + index = self.term_list.index(sibling) self.term_list.insert (index + 1, terminal) return (True) diff --git a/terminatorlib/config.py b/terminatorlib/config.py index 979eae3a..751fef06 100755 --- a/terminatorlib/config.py +++ b/terminatorlib/config.py @@ -113,6 +113,7 @@ class TerminatorConfValuestore: 'ignore_hosts' : ['localhost','127.0.0.0/8','*.local'], 'encoding' : 'UTF-8', 'active_encodings' : ['UTF-8', 'ISO-8859-1'], + 'background_image' : '', } def __getattr__ (self, keyname):