Author: pwang
Date: 2010-07-26 15:03:16 -0700 (Mon, 26 Jul 2010)
New Revision: 21030

Modified:
   cytoscape/trunk/src/cytoscape/data/readers/CytoscapeSessionReader.java
Log:
Fixed bug#0002318: Save Cytoscape window size in .cytoscape directory and not 
the session 

Modified: cytoscape/trunk/src/cytoscape/data/readers/CytoscapeSessionReader.java
===================================================================
--- cytoscape/trunk/src/cytoscape/data/readers/CytoscapeSessionReader.java      
2010-07-26 21:27:30 UTC (rev 21029)
+++ cytoscape/trunk/src/cytoscape/data/readers/CytoscapeSessionReader.java      
2010-07-26 22:03:16 UTC (rev 21030)
@@ -823,12 +823,6 @@
        }
 
        private void restoreDesktopState() {
-               // Restore Desktop size
-               Cytoscape.getDesktop().setSize(
-                               
session.getSessionState().getDesktop().getDesktopSize()
-                                               .getWidth().intValue(),
-                               
session.getSessionState().getDesktop().getDesktopSize()
-                                               .getHeight().intValue());
 
                final List<NetworkFrame> frames = session.getSessionState()
                                
.getDesktop().getNetworkFrames().getNetworkFrame();

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to