From: Bradley S. <ye...@us...> - 2002-09-15 07:04:26
|
Update of /cvsroot/jmol/Jmol/src/org/openscience/jmol In directory usw-pr-cvs1:/tmp/cvs-serv2764/src/org/openscience/jmol Modified Files: Jmol.java RecentFilesDialog.java Log Message: Removed use of type with recent files. Index: Jmol.java =================================================================== RCS file: /cvsroot/jmol/Jmol/src/org/openscience/jmol/Jmol.java,v retrieving revision 1.58 retrieving revision 1.59 diff -C2 -r1.58 -r1.59 *** Jmol.java 15 Sep 2002 07:00:12 -0000 1.58 --- Jmol.java 15 Sep 2002 07:04:24 -0000 1.59 *************** *** 443,447 **** // Add the file to the recent files list ! recentFiles.addFile(theFile.toString(), "auto"); } else { JOptionPane.showMessageDialog(Jmol.this, --- 443,447 ---- // Add the file to the recent files list ! recentFiles.addFile(theFile.toString()); } else { JOptionPane.showMessageDialog(Jmol.this, Index: RecentFilesDialog.java =================================================================== RCS file: /cvsroot/jmol/Jmol/src/org/openscience/jmol/RecentFilesDialog.java,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -r1.14 -r1.15 *** RecentFilesDialog.java 15 Sep 2002 07:00:19 -0000 1.14 --- RecentFilesDialog.java 15 Sep 2002 07:04:24 -0000 1.15 *************** *** 77,84 **** /** ! * Adds this file and type to the history. If already present, * this file is premoted to the top position. */ ! public void addFile(String name, String type) { int currentPosition = -1; --- 77,84 ---- /** ! * Adds this file to the history. If already present, * this file is premoted to the top position. */ ! public void addFile(String name) { int currentPosition = -1; |