[sikuli] 146/385: reduced verbosity

Gilles Filippini pini at moszumanska.debian.org
Sun Jun 29 19:26:02 UTC 2014


This is an automated email from the git hooks/post-receive script.

pini pushed a commit to tag upstream/1.1.0_beta1
in repository sikuli.

commit b121d8e0ea5c667f8fea87ed234d2f3f0ff3e89d
Author: Raimund Hocke <rmhdevelop at me.com>
Date:   Thu Jan 9 16:20:37 2014 +0100

    reduced verbosity
---
 IDE/src/main/java/org/sikuli/ide/EditorPatternLabel.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/IDE/src/main/java/org/sikuli/ide/EditorPatternLabel.java b/IDE/src/main/java/org/sikuli/ide/EditorPatternLabel.java
index f062214..4d44973 100755
--- a/IDE/src/main/java/org/sikuli/ide/EditorPatternLabel.java
+++ b/IDE/src/main/java/org/sikuli/ide/EditorPatternLabel.java
@@ -153,7 +153,7 @@ public class EditorPatternLabel extends EditorRegionLabel {
       if (imgpop == null) {
         BufferedImage img = image.get();
         if (img == null) {
-          Debug.error("EditorPatternLabel: mouseEntered: not found " + this.imgName);
+          Debug.log(4, "EditorPatternLabel: mouseEntered: not found " + this.imgName);
           return;
         }
         imgpop = new JFrame();
@@ -200,7 +200,7 @@ public class EditorPatternLabel extends EditorRegionLabel {
 
   public void resetLabel(String givenFileName, float sim, Location off) {
     imgName = (new File(givenFileName)).getName();
-    image = Image.create(imgName);
+    image = Image.createThumbNail(imgName);
     imgFile = image.getFilename();
     imgNameShort = imgName.replaceFirst(".png", "").replaceFirst(".jpg", "");
     this.sim = sim;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/sikuli.git



More information about the pkg-java-commits mailing list