mailr14045 - /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 - 22:16:
Author: bugman
Date: Mon Aug  1 22:16:03 2011
New Revision: 14045

URL: http://svn.gna.org/viewcvs/relax?rev=14045&view=rev
Log:
Shifted the font initialisation to the very start of the GUI launching.


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=14045&r1=14044&r2=14045&view=diff
==============================================================================
--- branches/gui_testing/gui/relax_gui.py (original)
+++ branches/gui_testing/gui/relax_gui.py Mon Aug  1 22:16:03 2011
@@ -81,6 +81,9 @@
         # Execute the base class __init__ method.
         super(Main, self).__init__(parent=parent, id=id, title=title, 
style=wx.DEFAULT_FRAME_STYLE|wx.MAXIMIZE)
 
+        # Set up some standard interface-wide fonts.
+        font.setup()
+
         # Set up the relax icons.
         relax_icons.setup()
         self.SetIcons(relax_icons)
@@ -106,9 +109,6 @@
 
         # Initialise the GUI data.
         self.init_data()
-
-        # Set up some standard interface-wide fonts.
-        font.setup()
 
         # The user function GUI elements.
         self.user_functions = User_functions(self)




Related Messages


Powered by MHonArc, Updated Mon Aug 01 22:40:02 2011