diff --git a/manual/edit.rst b/manual/edit.rst index 0f86ed8e29..5ad66e7452 100644 --- a/manual/edit.rst +++ b/manual/edit.rst @@ -150,7 +150,7 @@ from the OPF file, saving you that chore. However, references in other places are not removed, you can use the Check Book tool to easily find and remove/replace them. -Export/import of files +Export of files ^^^^^^^^^^^^^^^^^^^^^^^^ You can export a file from inside the book to somewhere else on your computer. @@ -163,6 +163,14 @@ book, by right clicking on the file again and choosing :guilabel:`Replace with file...` which will allow you to replace the file in the book with the previously exported file. +Adding new images/fonts/etc. or creating new blank files +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +You can add a new image, font, stylesheet, etc. from your computer into the +book by clicking :guilabel:`File->New file`. This lets you either import a file +by clicking the :guilabel:`Import resource file` button or create a new blank html file +or stylesheet by simply entering the file name into the box for the new file. + Search & Replace ------------------- diff --git a/src/calibre/gui2/tweak_book/file_list.py b/src/calibre/gui2/tweak_book/file_list.py index 6fced37dfd..811110d3f3 100644 --- a/src/calibre/gui2/tweak_book/file_list.py +++ b/src/calibre/gui2/tweak_book/file_list.py @@ -616,6 +616,8 @@ class NewFileDialog(QDialog): # {{{ bb.rejected.connect(self.reject) self.imp_button = b = bb.addButton(_('Import resource file (image/font/etc.)'), bb.ActionRole) b.setIcon(QIcon(I('view-image.png'))) + b.setToolTip(_('Import a file from your computer as a new' + ' file into the book.')) b.clicked.connect(self.import_file) self.ok_button = bb.button(bb.Ok)