JAL-1834 removed quotes around truncated strings with ellipsis
[jalview.git] / src / jalview / appletgui / APopupMenu.java
index 971630d..0dd73ea 100644 (file)
@@ -832,7 +832,7 @@ public class APopupMenu extends java.awt.PopupMenu implements
     // TODO consider using getSequenceSelection instead here
 
     cap.setText(new jalview.io.AppletFormatAdapter().formatSequences(
-            e.getActionCommand(), ap.av.getShowJVSuffix(), ap.av, true));
+            e.getActionCommand(), ap.av.getShowJVSuffix(), ap, true));
 
   }
 
@@ -896,9 +896,9 @@ public class APopupMenu extends java.awt.PopupMenu implements
 
   void addPDB()
   {
-    if (seq.getPDBId() != null)
+    if (seq.getAllPDBEntries() != null)
     {
-      PDBEntry entry = seq.getPDBId().firstElement();
+      PDBEntry entry = seq.getAllPDBEntries().firstElement();
 
       if (ap.av.applet.jmolAvailable)
       {