From a882fe000c6a353e9397c8785fc0c9545aa50bd2 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Fri, 9 Dec 2016 09:23:55 +0000 Subject: [PATCH] JAL-1895 suppress RNA interaction colour option --- src/jalview/gui/AlignFrame.java | 2 ++ src/jalview/jbgui/GAlignFrame.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index 9c4ff81..df2a742 100644 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -857,7 +857,9 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener, modifyConservation.setEnabled(!nucleotide); showGroupConservation.setEnabled(!nucleotide); rnahelicesColour.setEnabled(nucleotide); + nucleotideColour.setEnabled(nucleotide); purinePyrimidineColour.setEnabled(nucleotide); + RNAInteractionColour.setEnabled(nucleotide); showComplementMenuItem.setText(nucleotide ? MessageManager .getString("label.protein") : MessageManager .getString("label.nucleotide")); diff --git a/src/jalview/jbgui/GAlignFrame.java b/src/jalview/jbgui/GAlignFrame.java index 4de3d3a..981da3b 100755 --- a/src/jalview/jbgui/GAlignFrame.java +++ b/src/jalview/jbgui/GAlignFrame.java @@ -2319,7 +2319,7 @@ public class GAlignFrame extends JInternalFrame colourMenu.add(buriedColour); colourMenu.add(nucleotideColour); colourMenu.add(purinePyrimidineColour); - colourMenu.add(RNAInteractionColour); + // colourMenu.add(RNAInteractionColour); // colourMenu.add(covariationColour); colourMenu.add(tcoffeeColour); colourMenu.add(userDefinedColour); -- 1.7.10.2