mailr14677 - /1.3/gui/user_functions/spin.py


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

Header


Content

Posted by edward on September 16, 2011 - 16:13:
Author: bugman
Date: Fri Sep 16 16:13:21 2011
New Revision: 14677

URL: http://svn.gna.org/viewcvs/relax?rev=14677&view=rev
Log:
Shifted the spin ID field to the end of the spin.name user function GUI page.

This is to make it easier for users, as it is often assumed that the first 
field is the important one.


Modified:
    1.3/gui/user_functions/spin.py

Modified: 1.3/gui/user_functions/spin.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/user_functions/spin.py?rev=14677&r1=14676&r2=14677&view=diff
==============================================================================
--- 1.3/gui/user_functions/spin.py (original)
+++ 1.3/gui/user_functions/spin.py Fri Sep 16 16:13:21 2011
@@ -550,14 +550,14 @@
         @type sizer:    wx.Sizer instance
         """
 
+        # The name.
+        self.name = self.input_field(sizer, "The name:", 
tooltip=self.uf._doc_args_dict['name'])
+
+        # The force flag.
+        self.force = self.boolean_selector(sizer, "The force flag:", 
tooltip=self.uf._doc_args_dict['force'], default=False)
+
         # The spin ID.
         self.spin_id = self.spin_id_element(sizer, desc="Restrict the naming 
to the spins:")
-
-        # The name.
-        self.name = self.input_field(sizer, "The name:", 
tooltip=self.uf._doc_args_dict['name'])
-
-        # The force flag.
-        self.force = self.boolean_selector(sizer, "The force flag:", 
tooltip=self.uf._doc_args_dict['force'], default=False)
 
 
     def on_execute(self):




Related Messages


Powered by MHonArc, Updated Fri Sep 16 16:20:02 2011