From: stv Date: Fri, 22 Feb 2008 13:10:03 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V5_0_0a1~35 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a09b9c85a8860c7b9f823fbf5feb67a74d2a1ca6;p=modules%2Fgui.git *** empty log message *** --- diff --git a/src/LightApp/LightApp_Application.cxx b/src/LightApp/LightApp_Application.cxx index 1554d6c8f..dd70e9b6b 100644 --- a/src/LightApp/LightApp_Application.cxx +++ b/src/LightApp/LightApp_Application.cxx @@ -303,9 +303,6 @@ LightApp_Application::~LightApp_Application() /*!Start application.*/ void LightApp_Application::start() { - if ( desktop() ) - desktop()->retrieveGeometry( resourceMgr()->stringValue( "desktop", "geometry", "(800%)x(800%) (+400%) (+400%) :(full)" ) ); - CAM_Application::start(); updateWindows(); @@ -701,8 +698,6 @@ void LightApp_Application::onNewWindow() */ void LightApp_Application::onNewDoc() { - SUIT_Study* study = activeStudy(); - saveDockWindowsState(); CAM_Application::onNewDoc(); @@ -2134,6 +2129,9 @@ void LightApp_Application::loadPreferences() if ( aResMgr->value( "windows_visibility", *itr, arr ) ) myWinVis.insert( *itr, arr ); } + + if ( desktop() ) + desktop()->retrieveGeometry( aResMgr->stringValue( "desktop", "geometry" ) ); } /*! diff --git a/src/LightApp/resources/LightApp.xml b/src/LightApp/resources/LightApp.xml index 347903fc7..bca753a01 100644 --- a/src/LightApp/resources/LightApp.xml +++ b/src/LightApp/resources/LightApp.xml @@ -49,12 +49,7 @@
- - - - - - +
diff --git a/src/SalomeApp/resources/SalomeApp.xml b/src/SalomeApp/resources/SalomeApp.xml index 69ff886a4..9e8e02f2a 100644 --- a/src/SalomeApp/resources/SalomeApp.xml +++ b/src/SalomeApp/resources/SalomeApp.xml @@ -72,12 +72,8 @@
- - - - - -
+ +