From e0cd21ee502003bb854cb4fdad61e351d587c5df Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 10 Dec 2013 11:56:29 +0530 Subject: [PATCH] One click remove of calibre_bookmarks.txt --- src/calibre/ebooks/oeb/polish/check/links.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/calibre/ebooks/oeb/polish/check/links.py b/src/calibre/ebooks/oeb/polish/check/links.py index 5843b84cfd..98eb390e3f 100644 --- a/src/calibre/ebooks/oeb/polish/check/links.py +++ b/src/calibre/ebooks/oeb/polish/check/links.py @@ -60,6 +60,11 @@ class Unmanifested(BadLink): ' the calibre ebook viewer. You can remove it if you do not' ' need that information, or dont want to share it with' ' other people you send this book to.') + self.INDIVIDUAL_FIX = _('Remove this file') + + def __call__(self, container): + container.remove_item(self.name) + return True def check_links(container):