Include the final page of children in the list of children of the Notebook. Closes LP #546665

This commit is contained in:
Chris Jones 2010-04-11 15:51:18 +01:00
parent 463ea45d3a
commit 58921fbcc7

View File

@ -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)