[Greater-commits] r3678 - in branches/3.0.0-all-models/GREAT-ER: . Greater/UI

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Jul 26 11:16:39 CEST 2011


Author: aheinecke
Date: 2011-07-26 11:16:39 +0200 (Tue, 26 Jul 2011)
New Revision: 3678

Modified:
   branches/3.0.0-all-models/GREAT-ER/
   branches/3.0.0-all-models/GREAT-ER/ChangeLog
   branches/3.0.0-all-models/GREAT-ER/Greater/UI/mainwindow.py
Log:
Merged revisions 3578 via svnmerge from 
svn+ssh://wald.intevation.org/greater/trunk/GREAT-ER

........
  r3578 | aheinecke | 2011-07-14 15:25:52 +0200 (Thu, 14 Jul 2011) | 2 lines
  
  Raise default display size
........



Property changes on: branches/3.0.0-all-models/GREAT-ER
___________________________________________________________________
Name: svnmerge-integrated
   - /trunk/GREAT-ER:1-232,310,312-315,319,322,327,333,335,340-344,346-347,368,375,397-398,400,403,410,412-431,434-448,3577
   + /trunk/GREAT-ER:1-232,310,312-315,319,322,327,333,335,340-344,346-347,368,375,397-398,400,403,410,412-431,434-448,3577-3578

Modified: branches/3.0.0-all-models/GREAT-ER/ChangeLog
===================================================================
--- branches/3.0.0-all-models/GREAT-ER/ChangeLog	2011-07-26 09:14:40 UTC (rev 3677)
+++ branches/3.0.0-all-models/GREAT-ER/ChangeLog	2011-07-26 09:16:39 UTC (rev 3678)
@@ -1,3 +1,9 @@
+2011-07-26  Andre Heinecke <aheinecke at intevation.de>
+
+	* Greater/UI/mainwindow.py:
+		Increase default size of the greter window to fit a third of
+		the screen.
+
 2011-07-25  Andre Heinecke <aheinecke at intevation.de>
 
 	* Greater/UI/application.py:
@@ -79,7 +85,6 @@
 		- Fix alpha mode tables by using the "newer" QueryTableFrame
 		  which inherits from Table Frame and adds some nice features
 
-
 2006-05-10  Frank Koormann   <frank at intevation.de>
 
 	* Greater/version.py: Updated version to 2.1.0.

Modified: branches/3.0.0-all-models/GREAT-ER/Greater/UI/mainwindow.py
===================================================================
--- branches/3.0.0-all-models/GREAT-ER/Greater/UI/mainwindow.py	2011-07-26 09:14:40 UTC (rev 3677)
+++ branches/3.0.0-all-models/GREAT-ER/Greater/UI/mainwindow.py	2011-07-26 09:16:39 UTC (rev 3678)
@@ -16,6 +16,7 @@
 # $Id: mainwindow.py,v 1.47 2005-12-22 12:35:37 frank Exp $
 
 from wxPython.wx import *
+import wx
 import sys
 import os
 
@@ -68,6 +69,8 @@
 
         self.prev_session_open = None
         self.prev_results_exist = None
+        displaySize = wx.GetDisplaySize()
+        self.SetSize(wxSize(displaySize[0] * 0.75, displaySize[1] * 0.75))
         EVT_IDLE(self, self.OnIdle)
 
     def OnIdle(self, event):



More information about the Greater-commits mailing list