mailr13098 - in /branches/gui_testing/gui/user_functions: base.py value.py


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

Header


Content

Posted by edward on June 17, 2011 - 13:02:
Author: bugman
Date: Fri Jun 17 13:02:42 2011
New Revision: 13098

URL: http://svn.gna.org/viewcvs/relax?rev=13098&view=rev
Log:
Fixes for the initialisation of the UF_panel class.


Modified:
    branches/gui_testing/gui/user_functions/base.py
    branches/gui_testing/gui/user_functions/value.py

Modified: branches/gui_testing/gui/user_functions/base.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/user_functions/base.py?rev=13098&r1=13097&r2=13098&view=diff
==============================================================================
--- branches/gui_testing/gui/user_functions/base.py (original)
+++ branches/gui_testing/gui/user_functions/base.py Fri Jun 17 13:02:42 2011
@@ -51,10 +51,12 @@
     def __init__(self, parent, gui, interpreter):
         """Set up the window.
 
-        @param parent:  The parent class containing the GUI and interpreter 
objects.
-        @type parent:   class instance
-        @param gui:     The GUI base object.
-        @type gui:      wx.Frame instance
+        @param parent:      The parent class containing the GUI and 
interpreter objects.
+        @type parent:       class instance
+        @param gui:         The GUI base object.
+        @type gui:          wx.Frame instance
+        @param interpreter: The relax interpreter.
+        @type interpreter:  prompt.interpreter.Interpreter instance
         """
 
         # Store the args.

Modified: branches/gui_testing/gui/user_functions/value.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/user_functions/value.py?rev=13098&r1=13097&r2=13098&view=diff
==============================================================================
--- branches/gui_testing/gui/user_functions/value.py (original)
+++ branches/gui_testing/gui/user_functions/value.py Fri Jun 17 13:02:42 2011
@@ -50,7 +50,7 @@
 
         # Execute the wizard.
         wizard = Wiz_window(size_x=800, size_y=600, title='Set parameter 
values')
-        panel = Set_panel(wizard, self)
+        panel = Set_panel(wizard, self.gui, self.interpreter)
         wizard.add_page(panel)
         wizard.run()
 




Related Messages


Powered by MHonArc, Updated Fri Jun 17 13:20:01 2011