Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 113215 Details for
Bug 169916
make strikethrough font optional and consider supporting on non-win32 platforms
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
updated patch
patch169916.txt (text/plain), 3.25 KB, created by
Frank Becker
on 2008-09-23 00:10:45 EDT
(
hide
)
Description:
updated patch
Filename:
MIME Type:
Creator:
Frank Becker
Created:
2008-09-23 00:10:45 EDT
Size:
3.25 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.mylyn.tasks.ui >Index: src/org/eclipse/mylyn/internal/tasks/ui/views/CustomTaskListDecorationDrawer.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/CustomTaskListDecorationDrawer.java,v >retrieving revision 1.65 >diff -u -r1.65 CustomTaskListDecorationDrawer.java >--- src/org/eclipse/mylyn/internal/tasks/ui/views/CustomTaskListDecorationDrawer.java 12 Sep 2008 04:19:26 -0000 1.65 >+++ src/org/eclipse/mylyn/internal/tasks/ui/views/CustomTaskListDecorationDrawer.java 23 Sep 2008 04:06:07 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >-* Copyright (c) 2004, 2008 Tasktop Technologies and others. >+ * Copyright (c) 2004, 2008 Tasktop Technologies and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -28,6 +28,7 @@ > import org.eclipse.mylyn.tasks.ui.TasksUiImages; > import org.eclipse.swt.SWT; > import org.eclipse.swt.graphics.Image; >+import org.eclipse.swt.graphics.Point; > import org.eclipse.swt.graphics.Rectangle; > import org.eclipse.swt.widgets.Event; > import org.eclipse.swt.widgets.Listener; >@@ -91,6 +92,16 @@ > activationImage = taskInactive; > } > } >+ if (data instanceof AbstractTask) { >+ AbstractTask task = (AbstractTask) data; >+ if (task.isCompleted()) { >+ Rectangle bounds = ((TreeItem) event.item).getBounds(); >+ int lineY = bounds.y + (bounds.height / 2); >+ String itemText = ((TreeItem) event.item).getText(); >+ Point extent = event.gc.textExtent(itemText); >+ event.gc.drawLine(bounds.x, lineY, bounds.x + extent.x, lineY); >+ } >+ } > if (data instanceof ITaskContainer) { > switch (event.type) { > case SWT.EraseItem: { >Index: src/org/eclipse/mylyn/tasks/ui/TaskElementLabelProvider.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TaskElementLabelProvider.java,v >retrieving revision 1.11 >diff -u -r1.11 TaskElementLabelProvider.java >--- src/org/eclipse/mylyn/tasks/ui/TaskElementLabelProvider.java 12 Sep 2008 04:19:27 -0000 1.11 >+++ src/org/eclipse/mylyn/tasks/ui/TaskElementLabelProvider.java 23 Sep 2008 04:06:07 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >-* Copyright (c) 2004, 2008 Tasktop Technologies and others. >+ * Copyright (c) 2004, 2008 Tasktop Technologies and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -268,7 +268,7 @@ > if (((AbstractTask) element).isActive()) { > return CommonFonts.BOLD; > } else if (((AbstractTask) element).isCompleted()) { >- return CommonFonts.STRIKETHROUGH; >+ return null; > } > for (ITask child : ((ITaskContainer) element).getChildren()) { > if (child.isActive() || (child instanceof ITaskContainer && showHasActiveChild((ITaskContainer) child))) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 169916
:
57277
|
58076
|
86499
|
86513
|
86521
|
86522
|
86526
|
90020
|
90529
|
90530
| 113215 |
113219
|
113220
|
113405
|
113406