diff pyntnclick/widgets/toollist.py @ 726:efa58c92b304 pyntnclick

Move prepare out of __init__ and into everywhere else
author Neil Muller <neil@dip.sun.ac.za>
date Tue, 15 Jan 2013 22:44:50 +0200
parents fdc63049b08c
children bcc9277a23e6
line wrap: on
line diff
--- a/pyntnclick/widgets/toollist.py	Tue Jan 15 21:57:42 2013 +0200
+++ b/pyntnclick/widgets/toollist.py	Tue Jan 15 22:44:50 2013 +0200
@@ -15,6 +15,8 @@
         super(ToolListWidget, self).__init__(rect, gd)
         self.prev_but = None
         self.next_but = None
+
+    def prepare(self):
         self.fill_page()
 
     def fill_page(self):