from subtree: improve progress names
[fanfix.git] / src / be / nikiroo / fanfix / supported / BasicSupport.java
index bc91e8b40d0688e96b8ae8698f9e252ae2fe3bec..ba2164cacac6f077ab1f4d1c97e23b9d9a56f31d 100644 (file)
@@ -336,6 +336,8 @@ public abstract class BasicSupport {
                } else {
                        pg.setMinMax(0, 100);
                }
+               
+               pg.setName("Initialising");
 
                pg.setProgress(1);
                Progress pgMeta = new Progress();
@@ -343,7 +345,7 @@ public abstract class BasicSupport {
                Story story = processMeta(true, pgMeta);
                pgMeta.done(); // 10%
 
-               pg.setName("Retrieving " + story.getMeta().getTitle());
+               pg.setName(story.getMeta().getTitle());
 
                Progress pgGetChapters = new Progress();
                pg.addProgress(pgGetChapters, 10);
@@ -390,6 +392,7 @@ public abstract class BasicSupport {
                        pgChaps.done();
                }
 
+               pg.setName(story.getMeta().getTitle());
                pg.done();
 
                return story;