mailr10660 - /branches/bieri_gui/gui_bieri/about.py


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

Header


Content

Posted by edward on February 04, 2010 - 22:39:
Author: bugman
Date: Thu Feb  4 22:39:39 2010
New Revision: 10660

URL: http://svn.gna.org/viewcvs/relax?rev=10660&view=rev
Log:
Sent some initialisations into __init__() to occur before the Bind() calls.

This will fix some intermittent errors.


Modified:
    branches/bieri_gui/gui_bieri/about.py

Modified: branches/bieri_gui/gui_bieri/about.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/about.py?rev=10660&r1=10659&r2=10660&view=diff
==============================================================================
--- branches/bieri_gui/gui_bieri/about.py (original)
+++ branches/bieri_gui/gui_bieri/about.py Thu Feb  4 22:39:39 2010
@@ -165,6 +165,13 @@
         # Initialise the program information container.
         self.info = Intro_text()
 
+        # The starting cursor type.
+        self.cursor_type = 'normal'
+
+        # The link position initialisation.
+        self.link_pox_x = [0, 0]
+        self.link_pox_y = [0, 0]
+
         # Execute the base class __init__() method.
         super(About_relax, self).__init__(*args, **kwds)
 
@@ -174,9 +181,6 @@
 
         # A global Y offset for packing the elements together (initialise to 
the boarder position).
         self.offset(self.boarder, init=True)
-
-        # The starting cursor type.
-        self.cursor_type = 'normal'
 
         # Draw all the elements.
         self.draw_title()




Related Messages


Powered by MHonArc, Updated Thu Feb 04 23:00:01 2010