mailr14021 - /branches/gui_testing/gui/relax_gui.py


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

Header


Content

Posted by edward on August 01, 2011 - 09:16:
Author: bugman
Date: Mon Aug  1 09:16:51 2011
New Revision: 14021

URL: http://svn.gna.org/viewcvs/relax?rev=14021&view=rev
Log:
The status bar is properly updated to show nothing if all data pipes have 
been deleted.


Modified:
    branches/gui_testing/gui/relax_gui.py

Modified: branches/gui_testing/gui/relax_gui.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/relax_gui.py?rev=14021&r1=14020&r2=14021&view=diff
==============================================================================
--- branches/gui_testing/gui/relax_gui.py (original)
+++ branches/gui_testing/gui/relax_gui.py Mon Aug  1 09:16:51 2011
@@ -508,5 +508,10 @@
 
         # Set the current data pipe info.
         pipe = cdp_name()
-        if pipe:
-            self.bar.SetStatusText(pipe, 2)
+
+        # No data pipe.
+        if pipe == None:
+            pipe = ''
+
+        # Set the status.
+        self.bar.SetStatusText(pipe, 2)




Related Messages


Powered by MHonArc, Updated Mon Aug 01 10:00:01 2011