X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=supported%2FCbz.java;h=7fe496d97ea8acb9e8869bb41c37d6723e19a636;hb=75a6a3eadc87e42bb0c9808e359d23d03801a9a2;hp=76b66aba7c75fa24317eb4daca6ff75854658326;hpb=148f02268b892f6df74ddd86b4b1703b74ac8da8;p=nikiroo-utils.git diff --git a/supported/Cbz.java b/supported/Cbz.java index 76b66ab..7fe496d 100644 --- a/supported/Cbz.java +++ b/supported/Cbz.java @@ -63,6 +63,8 @@ class Cbz extends Epub { } else { pg.setMinMax(0, 100); } + + pg.setName("Initialising"); Progress pgMeta = new Progress(); pg.addProgress(pgMeta, 10); @@ -70,7 +72,7 @@ class Cbz extends Epub { MetaData meta = story.getMeta(); pgMeta.done(); // 10% - + File tmpDir = Instance.getInstance().getTempFiles().createTempDir("info-text"); String basename = null; @@ -166,7 +168,7 @@ class Cbz extends Epub { } if (!imagesList.isEmpty()) { - Chapter chap = new Chapter(story.getChapters().size() + 1, null); + Chapter chap = new Chapter(story.getChapters().size() + 1, ""); story.getChapters().add(chap); for (String uuid : imagesList) { @@ -193,7 +195,7 @@ class Cbz extends Epub { } } - pg.setProgress(100); + pg.done(); return story; }