mailr16275 - /branches/uf_redesign/gui/uf_objects.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on May 13, 2012 - 12:46:
Author: bugman
Date: Sun May 13 12:46:11 2012
New Revision: 16275

URL: http://svn.gna.org/viewcvs/relax?rev=16275&view=rev
Log:
Fix for the Uf_page.create_page() method - the wizard instance is now passed 
into the method.


Modified:
    branches/uf_redesign/gui/uf_objects.py

Modified: branches/uf_redesign/gui/uf_objects.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/uf_redesign/gui/uf_objects.py?rev=16275&r1=16274&r2=16275&view=diff
==============================================================================
--- branches/uf_redesign/gui/uf_objects.py (original)
+++ branches/uf_redesign/gui/uf_objects.py Sun May 13 12:46:11 2012
@@ -58,7 +58,7 @@
         wizard = Wiz_window(parent=self._parent, size_x=self._size[0], 
size_y=self._size[1], title=self._title)
 
         # Create the page.
-        page = self.create_page()
+        page = self.create_page(wizard)
 
         # Add the page to the wizard.
         wizard.add_page(page, apply_button=self._apply_button)
@@ -96,11 +96,13 @@
         self._sync = sync
 
 
-    def create_page(self):
+    def create_page(self, wizard=None):
         """Create the user function page object.
 
-        @return:        The user function page object.
-        @rtype:         Uf_page instance
+        @keyword wizard:    The parent wizard.
+        @type wizard:       Wiz_window instance
+        @return:            The user function page object.
+        @rtype:             Uf_page instance
         """
 
         # Initialise and return the page.




Related Messages


Powered by MHonArc, Updated Sun May 13 13:00:02 2012