rpms/eclipse-pydev/devel piccolo-swtimage-dispose.patch,NONE,1.1
Alexander Kurtakov
akurtakov at fedoraproject.org
Thu Mar 25 07:59:08 UTC 2010
Author: akurtakov
Update of /cvs/pkgs/rpms/eclipse-pydev/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv16808/devel
Added Files:
piccolo-swtimage-dispose.patch
Log Message:
Patch for compiling with piccolo2d 1.3
piccolo-swtimage-dispose.patch:
HierarchyNodeView.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE piccolo-swtimage-dispose.patch ---
--- plugins/com.python.pydev/src/com/python/pydev/ui/hierarchy/HierarchyNodeView.java.sav 2009-12-25 17:31:50.000000000 +0200
+++ plugins/com.python.pydev/src/com/python/pydev/ui/hierarchy/HierarchyNodeView.java 2010-03-24 22:45:40.923631461 +0200
@@ -54,7 +54,7 @@ public class HierarchyNodeView {
this.model = model;
this.initialColor = initialColor;
Image classImg = PydevPlugin.getImageCache().get(UIConstants.CLASS_ICON);
- final PSWTImage img = new PSWTImage(canvas, classImg, false); //do not dispose it.
+ final PSWTImage img = new PSWTImage(canvas, classImg){ protected void disposeImage() {} }; //do not dispose it.
img.translate(0+x, 5+y);
Rectangle2D imgRect = img.getBounds().getBounds2D();
final PSWTText text = new PSWTText(model.name);
More information about the scm-commits
mailing list