JAL-2383 make popup colour menu order and wording consistent
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Fri, 20 Jan 2017 10:55:24 +0000 (10:55 +0000)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Fri, 20 Jan 2017 10:55:24 +0000 (10:55 +0000)
src/jalview/appletgui/APopupMenu.java
src/jalview/gui/PopupMenu.java

index 209ca22..bf985d7 100644 (file)
@@ -978,10 +978,10 @@ public class APopupMenu extends java.awt.PopupMenu implements
     colourMenu.add(nucleotideMenuItem);
     colourMenu.add(userDefinedColour);
     colourMenu.addSeparator();
-    colourMenu.add(abovePIDColour);
-    colourMenu.add(modifyPID);
     colourMenu.add(conservationMenuItem);
     colourMenu.add(modifyConservation);
+    colourMenu.add(abovePIDColour);
+    colourMenu.add(modifyPID);
 
     noColourmenuItem.setLabel(MessageManager.getString("label.none"));
     noColourmenuItem.addActionListener(this);
@@ -1018,7 +1018,7 @@ public class APopupMenu extends java.awt.PopupMenu implements
     BLOSUM62Colour.setLabel("BLOSUM62");
     BLOSUM62Colour.addActionListener(this);
     conservationMenuItem.setLabel(MessageManager
-            .getString("label.conservation"));
+            .getString("action.by_conservation"));
 
     editMenu.add(copy);
     copy.addActionListener(this);
index 3a99f9e..6a68334 100644 (file)
@@ -1386,10 +1386,10 @@ public class PopupMenu extends JPopupMenu
     }
 
     colourMenu.addSeparator();
-    colourMenu.add(abovePIDColour);
-    colourMenu.add(modifyPID);
     colourMenu.add(conservationMenuItem);
     colourMenu.add(modifyConservation);
+    colourMenu.add(abovePIDColour);
+    colourMenu.add(modifyPID);
     editMenu.add(copy);
     editMenu.add(cut);
     editMenu.add(editSequence);