Author: scooter
Date: 2010-09-16 12:02:01 -0700 (Thu, 16 Sep 2010)
New Revision: 21895

Modified:
   cytoscape/trunk/application/src/main/java/cytoscape/CytoscapeInit.java
Log:
Make sure to set the sessionName when we're reading a session at initialization 
time


Modified: cytoscape/trunk/application/src/main/java/cytoscape/CytoscapeInit.java
===================================================================
--- cytoscape/trunk/application/src/main/java/cytoscape/CytoscapeInit.java      
2010-09-16 18:22:28 UTC (rev 21894)
+++ cytoscape/trunk/application/src/main/java/cytoscape/CytoscapeInit.java      
2010-09-16 19:02:01 UTC (rev 21895)
@@ -456,6 +456,7 @@
                                        
Cytoscape.setCurrentSessionFileName(sessionFile);
 
                                        final File shortName = new 
File(sessionFile);
+                                       sessionName = shortName.getName();
                                        String absolutePath = 
shortName.getAbsolutePath();
                                        if (absolutePath.startsWith("/"))
                                                absolutePath = "/" + 
absolutePath;

-- 
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