From: <dam...@us...> - 2006-10-24 18:00:08
|
Revision: 1139 http://svn.sourceforge.net/azsmrc/?rev=1139&view=rev Author: damokles Date: 2006-10-24 10:59:57 -0700 (Tue, 24 Oct 2006) Log Message: ----------- changed some layout Modified Paths: -------------- trunk/azsmrc/lbms/azsmrc/remote/client/swtgui/RCMain.java Modified: trunk/azsmrc/lbms/azsmrc/remote/client/swtgui/RCMain.java =================================================================== --- trunk/azsmrc/lbms/azsmrc/remote/client/swtgui/RCMain.java 2006-10-24 17:59:19 UTC (rev 1138) +++ trunk/azsmrc/lbms/azsmrc/remote/client/swtgui/RCMain.java 2006-10-24 17:59:57 UTC (rev 1139) @@ -218,22 +218,22 @@ SeedContainer.loadColumns(); terminated = false; - - connect = properties.getPropertyAsBoolean("auto_connect"); display.asyncExec(new SWTSafeRunnable() { public void runSafe() { createContents(); } }); + + connect = properties.getPropertyAsBoolean("auto_connect"); if (connect) { try { LoginData login = new LoginData(properties.getProperty("lastConnection","")); - if (!login.isComplete()) { - connect = false; - } else { + if (login.isComplete()) { connect(false); updateTimer(properties.getPropertyAsBoolean("auto_open")); client.getDownloadManager().update(true); + } else { + connect = false; } } catch (MalformedURLException e) { connect = false; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |