This is a thread for unofficial Sigil patches.
The idea is to publish here patches which have not found the upstream but are useful (for some of us). I start with small patch which preserves file name for actions such as "Save As" when official Sigil names it just "untitled.epub". This patch makes Sigil remember name of the file even though it comes from plugin such as
KindleImport.
To profit from this patch you have to change in said plugin (as of version 0.80.6) the line 192 in plugin.py from:
Code:
bk.addotherfile('dummy.epub', data)
to:
Code:
bk.addotherfile(os.path.basename(epub), data)
and some more.
But seeing my errors now, I withdraw this patch
.