From 58921fbcc766643463bf162285ddfb892c979577 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Sun, 11 Apr 2010 15:51:18 +0100 Subject: [PATCH] Include the final page of children in the list of children of the Notebook. Closes LP #546665 --- terminatorlib/notebook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminatorlib/notebook.py b/terminatorlib/notebook.py index a4db1096..57c3725a 100755 --- a/terminatorlib/notebook.py +++ b/terminatorlib/notebook.py @@ -145,7 +145,7 @@ class Notebook(Container, gtk.Notebook): def get_children(self): """Return an ordered list of our children""" children = [] - for page in xrange(0,self.get_n_pages() - 1): + for page in xrange(0,self.get_n_pages()): children.append(self.get_nth_page(page)) return(children)