Author: bugman Date: Mon May 7 11:29:25 2012 New Revision: 16034 URL: http://svn.gna.org/viewcvs/relax?rev=16034&view=rev Log: The height_desc user function page variable is now properly handled. It was not being passed into the Uf_page initialisation!! 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=16034&r1=16033&r2=16034&view=diff ============================================================================== --- branches/uf_redesign/gui/uf_objects.py (original) +++ branches/uf_redesign/gui/uf_objects.py Mon May 7 11:29:25 2012 @@ -97,19 +97,22 @@ # The path to the user function. uf_path = None - def __init__(self, name, parent=None, sync=False): + def __init__(self, name, parent=None, height_desc=220, sync=False): """Set up the window. - @param name: The name of the user function. - @type name: str - @keyword parent: The parent class containing the GUI. - @type parent: class instance - @keyword sync: A flag which if True will call user functions via interpreter.apply and if False via interpreter.queue. - @type sync: bool + @param name: The name of the user function. + @type name: str + @keyword parent: The parent class containing the GUI. + @type parent: class instance + @keyword height_desc: The height in pixels of the description part of the wizard. + @type height_desc: int or None + @keyword sync: A flag which if True will call user functions via interpreter.apply and if False via interpreter.queue. + @type sync: bool """ # Store the args. self.name = name + self.height_desc = height_desc self.sync = sync # Default value data structure.