mailr14720 - /1.3/gui/spin_viewer/frame.py


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

Header


Content

Posted by edward on September 21, 2011 - 09:31:
Author: bugman
Date: Wed Sep 21 09:31:00 2011
New Revision: 14720

URL: http://svn.gna.org/viewcvs/relax?rev=14720&view=rev
Log:
The spin loader button in the spin viewer window is now deactivated with the 
execution lock.


Modified:
    1.3/gui/spin_viewer/frame.py

Modified: 1.3/gui/spin_viewer/frame.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/spin_viewer/frame.py?rev=14720&r1=14719&r2=14720&view=diff
==============================================================================
--- 1.3/gui/spin_viewer/frame.py (original)
+++ 1.3/gui/spin_viewer/frame.py Wed Sep 21 09:31:00 2011
@@ -98,6 +98,9 @@
             for item in menu.GetMenuItems():
                 item.Enable(enable)
 
+        # The spin loader.
+        self.spin_loader_button.Enable(enable)
+
         # The pipe selector.
         self.pipe_name.Enable(enable)
 
@@ -266,7 +269,7 @@
 
         # The spin loading button.
         id = wx.NewId()
-        self.bar.AddLabelTool(id, "Load spins", wx.Bitmap(icon_32x32.spin, 
wx.BITMAP_TYPE_ANY), shortHelp="Load spins", longHelp="Load spins from either 
a sequence file or from a 3D structure file")
+        self.spin_loader_button = self.bar.AddLabelTool(id, "Load spins", 
wx.Bitmap(icon_32x32.spin, wx.BITMAP_TYPE_ANY), shortHelp="Load spins", 
longHelp="Load spins from either a sequence file or from a 3D structure file")
         self.Bind(wx.EVT_TOOL, self.load_spins_wizard, id=id)
 
         # A separator.




Related Messages


Powered by MHonArc, Updated Wed Sep 21 11:20:02 2011