mailr16550 - /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 30, 2012 - 21:22:
Author: bugman
Date: Wed May 30 21:22:02 2012
New Revision: 16550

URL: http://svn.gna.org/viewcvs/relax?rev=16550&view=rev
Log:
The GUI user function object create_wizard() method now returns True upon 
success.

This is needed for calls to these objects!


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=16550&r1=16549&r2=16550&view=diff
==============================================================================
--- branches/uf_redesign/gui/uf_objects.py (original)
+++ branches/uf_redesign/gui/uf_objects.py Wed May 30 21:22:02 2012
@@ -239,6 +239,8 @@
 
         @keyword parent:    The parent wx window.
         @type parent:       wx.Window instance
+        @return:            True if the wizard was created, False if a 
problem was encountered.
+        @rtype:             bool
         """
 
         # The parent object defaults to the main relax window.
@@ -258,6 +260,9 @@
 
         # Add the page to the wizard.
         self.wizard.add_page(self.page, apply_button=self._apply_button)
+
+        # Success.
+        return True
 
 
 




Related Messages


Powered by MHonArc, Updated Wed May 30 21:40:01 2012