Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2007-03-28 15:40:23 +0000
committerspingel2007-03-28 15:40:23 +0000
commitab44f8521dee8956aee4c09afb2d656f1e00017b (patch)
tree47b70eb9f7ce3dd86e6021a0bcc3912d05197fd8 /org.eclipse.mylyn.trac.core/src
parent7eb5aeb33d45f90e7cdc9fe41567aea021078890 (diff)
downloadorg.eclipse.mylyn.tasks-ab44f8521dee8956aee4c09afb2d656f1e00017b.tar.gz
org.eclipse.mylyn.tasks-ab44f8521dee8956aee4c09afb2d656f1e00017b.tar.xz
org.eclipse.mylyn.tasks-ab44f8521dee8956aee4c09afb2d656f1e00017b.zip
NEW - bug 179760: Hide Add CC attribute
https://bugs.eclipse.org/bugs/show_bug.cgi?id=179760
Diffstat (limited to 'org.eclipse.mylyn.trac.core/src')
-rw-r--r--org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttributeFactory.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttributeFactory.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttributeFactory.java
index 35d78eb54..9ddce0842 100644
--- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttributeFactory.java
+++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttributeFactory.java
@@ -92,7 +92,7 @@ public class TracAttributeFactory extends AbstractAttributeFactory {
* This is for Mylar attributes that do not map to Trac attributes.
*/
Attribute(String taskKey, String prettyName) {
- this(taskKey, prettyName, taskKey, false, false);
+ this(taskKey, prettyName, taskKey, true, false);
}
public String getTaskKey() {
@@ -124,8 +124,12 @@ public class TracAttributeFactory extends AbstractAttributeFactory {
@Override
public boolean getIsHidden(String key) {
+ if (isInternalAttribute(key)) {
+ return true;
+ }
+
Attribute attribute = attributeByTracKey.get(key);
- return (attribute != null) ? attribute.isHidden() : isInternalAttribute(key);
+ return (attribute != null) ? attribute.isHidden() : false;
}
@Override

Back to the top