mailr11620 - /branches/bieri_gui/gui_bieri/controller.py


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

Header


Content

Posted by edward on October 03, 2010 - 13:29:
Author: bugman
Date: Sun Oct  3 13:29:34 2010
New Revision: 11620

URL: http://svn.gna.org/viewcvs/relax?rev=11620&view=rev
Log:
The progress bar is now back in the class namespace and updateable.


Modified:
    branches/bieri_gui/gui_bieri/controller.py

Modified: branches/bieri_gui/gui_bieri/controller.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/controller.py?rev=11620&r1=11619&r2=11620&view=diff
==============================================================================
--- branches/bieri_gui/gui_bieri/controller.py (original)
+++ branches/bieri_gui/gui_bieri/controller.py Sun Oct  3 13:29:34 2010
@@ -142,13 +142,13 @@
         """
 
         # The progress bar.
-        progress_bar = wx.Gauge(self, -1, 100)
+        self.progress_bar = wx.Gauge(self, -1, 100)
 
         # Set the size of the progress bar.
-        progress_bar.SetSize((self.size_x - 2*self.border, 20))
+        self.progress_bar.SetSize((self.size_x - 2*self.border, 20))
 
         # Add the progress bar.
-        sizer.Add(progress_bar, 0, wx.EXPAND|wx.ALL, self.border)
+        sizer.Add(self.progress_bar, 0, wx.EXPAND|wx.ALL, self.border)
 
 
     def add_relax_logo(self, sizer):




Related Messages


Powered by MHonArc, Updated Sun Oct 03 13:40:02 2010