From: Miguel <mig...@us...> - 2005-12-19 00:44:03
|
Update of /cvsroot/jmol/Jmol/src/org/jmol/popup In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24492/src/org/jmol/popup Modified Files: JmolPopup.java Log Message: fixed bug #1383688 Index: JmolPopup.java =================================================================== RCS file: /cvsroot/jmol/Jmol/src/org/jmol/popup/JmolPopup.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- JmolPopup.java 27 Nov 2005 21:18:56 -0000 1.1 +++ JmolPopup.java 19 Dec 2005 00:43:55 -0000 1.2 @@ -121,13 +121,14 @@ addMenuItem(modelSetInfoMenu, "chains:" + viewer.getChainCount()); addMenuItem(modelSetInfoMenu, "polymers:" + viewer.getPolymerCount()); addMenuItem(modelSetInfoMenu, "models:" + viewer.getModelCount()); - if (viewer.showModelSetDownload()) { + if (viewer.showModelSetDownload() && + !viewer.getBooleanProperty("hideNameInPopup")) { addMenuSeparator(modelSetInfoMenu); addMenuItem(modelSetInfoMenu, viewer.getModelSetFileName(), viewer.getModelSetPathName()); } } - + private void addVersionAndDate(Object popupMenu) { if (aboutMenu != null) { addMenuSeparator(aboutMenu); |