mailr12937 - /1.3/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 June 09, 2011 - 17:52:
Author: bugman
Date: Thu Jun  9 17:52:04 2011
New Revision: 12937

URL: http://svn.gna.org/viewcvs/relax?rev=12937&view=rev
Log:
Removed a duplicated self.SetSize() call for the main GUI window.


Modified:
    1.3/gui/relax_gui.py

Modified: 1.3/gui/relax_gui.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/relax_gui.py?rev=12937&r1=12936&r2=12937&view=diff
==============================================================================
--- 1.3/gui/relax_gui.py (original)
+++ 1.3/gui/relax_gui.py Thu Jun  9 17:52:04 2011
@@ -147,7 +147,6 @@
             icon = wx.EmptyIcon()
             icon.CopyFromBitmap(wx.Bitmap(paths.IMAGE_PATH+'relax.gif', 
wx.BITMAP_TYPE_ANY))
             self.SetIcon(icon)
-            self.SetSize((self.min_width, self.min_height))
 
         # Statusbar fields.
         self.frame_1_statusbar.SetStatusWidths([800, 50, -1])
@@ -157,7 +156,7 @@
 
         # Set up the frame.
         self.Layout()
-        self.SetSize((1000, 600))
+        self.SetSize((self.min_width, self.min_height))
         self.Centre()
 
         # Close Box event




Related Messages


Powered by MHonArc, Updated Thu Jun 09 18:00:02 2011