Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Coulon2016-01-15 10:03:58 +0000
committerJeff Johnston2016-01-21 22:38:19 +0000
commit0a191f677d6a8e61bb9b1e1c97566568f72c9972 (patch)
tree81c7bdc751c71b6fe06f10a024f19ab6cf6598d2
parent8076721edd21aac7c1cc30f2859b87bff62936a2 (diff)
downloadorg.eclipse.linuxtools-0a191f677d6a8e61bb9b1e1c97566568f72c9972.tar.gz
org.eclipse.linuxtools-0a191f677d6a8e61bb9b1e1c97566568f72c9972.tar.xz
org.eclipse.linuxtools-0a191f677d6a8e61bb9b1e1c97566568f72c9972.zip
Bug 469627 - Multiple download windows blinking for intermediate images while pulling from docker registry
job.setUser(false) will show all pull job (one per image layer) i in the progress view but not in multiple dialog Change-Id: Id6fd2db4e10107f440d2f06b75afccdd27eb4a77 Signed-off-by: Xavier Coulon <xcoulon@redhat.com> Reviewed-on: https://git.eclipse.org/r/64447 Tested-by: Hudson CI Reviewed-by: Jeff Johnston <jjohnstn@redhat.com> (cherry picked from commit dbe8af194275c4a24692e7b4bf5523422be195a4) Reviewed-on: https://git.eclipse.org/r/64930
-rw-r--r--containers/org.eclipse.linuxtools.docker.ui/src/org/eclipse/linuxtools/internal/docker/ui/views/ImagePullProgressHandler.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/containers/org.eclipse.linuxtools.docker.ui/src/org/eclipse/linuxtools/internal/docker/ui/views/ImagePullProgressHandler.java b/containers/org.eclipse.linuxtools.docker.ui/src/org/eclipse/linuxtools/internal/docker/ui/views/ImagePullProgressHandler.java
index 3cc2695d99..1c2c839c53 100644
--- a/containers/org.eclipse.linuxtools.docker.ui/src/org/eclipse/linuxtools/internal/docker/ui/views/ImagePullProgressHandler.java
+++ b/containers/org.eclipse.linuxtools.docker.ui/src/org/eclipse/linuxtools/internal/docker/ui/views/ImagePullProgressHandler.java
@@ -76,7 +76,10 @@ public class ImagePullProgressHandler implements IDockerProgressHandler {
IMAGE_DOWNLOADING_JOBNAME, image),
DVMessages.getFormattedString(
IMAGE_DOWNLOADING_IMAGE, id));
- newJob.setUser(true);
+ // job.setUser(false) will show all pull job (one per image
+ // layer) in the progress
+ // view but not in multiple dialog
+ newJob.setUser(false);
newJob.setPriority(Job.LONG);
newJob.schedule();
progressJobs.put(id, newJob);

Back to the top