JAL-690 jvp rather than jar for save/restore state file browser
authorJim Procter <jprocter@dundee.ac.uk>
Tue, 3 Jun 2014 15:25:53 +0000 (16:25 +0100)
committerJim Procter <jprocter@dundee.ac.uk>
Tue, 3 Jun 2014 15:25:53 +0000 (16:25 +0100)
src/jalview/gui/Desktop.java

index a0e45a6..f05ef17 100644 (file)
@@ -1372,7 +1372,7 @@ public class Desktop extends jalview.jbgui.GDesktop implements
   {
     JalviewFileChooser chooser = new JalviewFileChooser(
             jalview.bin.Cache.getProperty("LAST_DIRECTORY"), new String[]
-            { "jar" }, new String[]
+            { "jvp" }, new String[]
             { "Jalview Project" }, "Jalview Project");
 
     chooser.setFileView(new JalviewFileView());
@@ -1429,8 +1429,8 @@ public class Desktop extends jalview.jbgui.GDesktop implements
   {
     JalviewFileChooser chooser = new JalviewFileChooser(
             jalview.bin.Cache.getProperty("LAST_DIRECTORY"), new String[]
-            { "jar" }, new String[]
-            { "Jalview Project" }, "Jalview Project");
+            { "jvp","jar" }, new String[]
+            { "Jalview Project", "Jalview Project (old)" }, "Jalview Project");
     chooser.setFileView(new JalviewFileView());
     chooser.setDialogTitle("Restore state");