diff --git a/calibre-plugin/__init__.py b/calibre-plugin/__init__.py index 9659389..8a77095 100644 --- a/calibre-plugin/__init__.py +++ b/calibre-plugin/__init__.py @@ -27,7 +27,7 @@ class FanFictionDownLoaderBase(InterfaceActionBase): description = 'UI plugin to download FanFiction stories from various sites.' supported_platforms = ['windows', 'osx', 'linux'] author = 'Jim Miller' - version = (1, 4, 0) + version = (1, 4, 1) minimum_calibre_version = (0, 8, 30) #: This field defines the GUI plugin class that contains all the code diff --git a/calibre-plugin/config.py b/calibre-plugin/config.py index 4ec189e..14693b6 100644 --- a/calibre-plugin/config.py +++ b/calibre-plugin/config.py @@ -9,7 +9,7 @@ __docformat__ = 'restructuredtext en' import traceback, copy -from PyQt4.Qt import (QDialog, QWidget, QVBoxLayout, QHBoxLayout, QLabel, QLineEdit, +from PyQt4.Qt import (QDialog, QWidget, QVBoxLayout, QHBoxLayout, QLabel, QLineEdit, QFont, QTextEdit, QComboBox, QCheckBox, QPushButton, QTabWidget, QVariant) from calibre.gui2 import dynamic, info_dialog @@ -58,10 +58,7 @@ copylist = ['personal.ini', 'updatedefault', 'fileform', 'collision', - 'deleteotherforms', - 'addtolists', - 'addtoreadlists', - 'addtolistsonread'] + 'deleteotherforms'] # fake out so I don't have to change the prefs calls anywhere. The # Java programmer in me is offended by op-overloading, but it's very @@ -293,6 +290,11 @@ class PersonalIniTab(QWidget): self.l.addWidget(self.label) self.ini = QTextEdit(self) + try: + self.ini.setFont(QFont("Courier", + self.plugin_action.gui.font().pointSize()+1)); + except Exception as e: + print("Couldn't get font: %s"%e) self.ini.setLineWrapMode(QTextEdit.NoWrap) self.ini.setText(prefs['personal.ini']) self.l.addWidget(self.ini) @@ -324,6 +326,11 @@ class ShowDefaultsIniDialog(QDialog): self.ini = QTextEdit(self) self.ini.setToolTip("These are all of the plugin's configurable options\nand their default settings.") + try: + self.ini.setFont(QFont("Courier", + get_gui().font().pointSize()+1)); + except Exception as e: + print("Couldn't get font: %s"%e) self.ini.setLineWrapMode(QTextEdit.NoWrap) self.ini.setText(text) self.ini.setReadOnly(True) diff --git a/index.html b/index.html index d96a0ac..28a3b51 100644 --- a/index.html +++ b/index.html @@ -58,6 +58,14 @@
The CSS included in the HTML and EPUB output formats is now a customizable parameter.
++ There's now a customizable parameter to include a list of regular expressions to replace metadata as you see fit. +
++ Examples of how to use both new features can be found in the + plugin forum. +
If you have any problems with this application, please report them in