From f79daf62e95321e2ebd39c45fa1f541bc49f5d1f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 3 Jun 2010 12:27:33 -0600 Subject: [PATCH] ... --- src/calibre/gui2/dialogs/saved_search_editor.py | 6 ++---- src/calibre/manual/gui.rst | 4 ++-- src/calibre/web/feeds/templates.py | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/calibre/gui2/dialogs/saved_search_editor.py b/src/calibre/gui2/dialogs/saved_search_editor.py index a9382201b9..6a8b790625 100644 --- a/src/calibre/gui2/dialogs/saved_search_editor.py +++ b/src/calibre/gui2/dialogs/saved_search_editor.py @@ -3,14 +3,12 @@ __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal ' -from PyQt4.QtCore import SIGNAL, Qt -from PyQt4.QtGui import QDialog, QIcon, QListWidgetItem +from PyQt4.QtCore import SIGNAL +from PyQt4.QtGui import QDialog from calibre.gui2.dialogs.saved_search_editor_ui import Ui_SavedSearchEditor -from calibre.utils.config import prefs from calibre.utils.search_query_parser import saved_searches from calibre.gui2.dialogs.confirm_delete import confirm -from calibre.constants import islinux class SavedSearchEditor(QDialog, Ui_SavedSearchEditor): diff --git a/src/calibre/manual/gui.rst b/src/calibre/manual/gui.rst index 0d79c77e55..98e31b2252 100644 --- a/src/calibre/manual/gui.rst +++ b/src/calibre/manual/gui.rst @@ -241,9 +241,9 @@ Now, you can access your saved search in the Tag Browser under "Searches". A sin .. _configuration: -Configuration +Preferences --------------- -The configuration dialog allows you to set some global defaults used by all of |app|. To access it, click the |cbi|. +The Preferences dialog allows you to set some global defaults used by all of |app|. To access it, click the |cbi|. .. |cbi| image:: images/configuration.png diff --git a/src/calibre/web/feeds/templates.py b/src/calibre/web/feeds/templates.py index af0c8da6b4..2a003c14f8 100644 --- a/src/calibre/web/feeds/templates.py +++ b/src/calibre/web/feeds/templates.py @@ -5,7 +5,7 @@ __copyright__ = '2008, Kovid Goyal ' from lxml import html, etree from lxml.html.builder import HTML, HEAD, TITLE, STYLE, DIV, BODY, \ - STRONG, BR, H1, SPAN, A, HR, UL, LI, H2, IMG, P as PT, \ + STRONG, BR, SPAN, A, HR, UL, LI, H2, IMG, P as PT, \ TABLE, TD, TR from calibre import preferred_encoding, strftime, isbytestring