mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
version 0.3.104
This commit is contained in:
parent
a16ecea6ee
commit
9a5021504f
1
setup.py
1
setup.py
@ -23,6 +23,7 @@ entry_points = {
|
||||
'prs500 = libprs500.devices.prs500.cli.main:main', \
|
||||
'lrf-meta = libprs500.ebooks.lrf.meta:main', \
|
||||
'rtf-meta = libprs500.ebooks.metadata.rtf:main', \
|
||||
'pdf-meta = libprs500.ebooks.metadata.pdf:main', \
|
||||
'txt2lrf = libprs500.ebooks.lrf.txt.convert_from:main', \
|
||||
'html2lrf = libprs500.ebooks.lrf.html.convert_from:main',\
|
||||
'markdown = libprs500.ebooks.markdown.markdown:main',\
|
||||
|
@ -13,7 +13,7 @@
|
||||
## with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
''' E-book management software'''
|
||||
__version__ = "0.3.103"
|
||||
__version__ = "0.3.104"
|
||||
__docformat__ = "epytext"
|
||||
__author__ = "Kovid Goyal <kovid@kovidgoyal.net>"
|
||||
__appname__ = 'libprs500'
|
||||
|
@ -118,7 +118,7 @@ class LRFSingleDialog(QDialog, Ui_LRFSingleDialog):
|
||||
|
||||
def select_cover(self, checked):
|
||||
files = choose_images(self, 'change cover dialog',
|
||||
u'Choose cover for ' + qstring_to_unicode(self.title.text()))
|
||||
u'Choose cover for ' + qstring_to_unicode(self.gui_title.text()))
|
||||
if not files:
|
||||
return
|
||||
_file = files[0]
|
||||
|
@ -79,6 +79,12 @@ class LibraryDelegate(QItemDelegate):
|
||||
except Exception, e:
|
||||
traceback.print_exc(e)
|
||||
painter.restore()
|
||||
|
||||
def createEditor(self, parent, option, index):
|
||||
sb = QItemDelegate.createEditor(self, parent, option, index)
|
||||
sb.setMinimum(0)
|
||||
sb.setMaximum(5)
|
||||
return sb
|
||||
|
||||
class BooksModel(QAbstractTableModel):
|
||||
|
||||
|
@ -84,6 +84,8 @@ def setup_completion():
|
||||
f.write(opts_and_exts('any2lrf', htmlop,
|
||||
['htm', 'html', 'xhtml', 'xhtm', 'rar', 'zip', 'txt', 'lit', 'rtf', 'pdf']))
|
||||
f.write(opts_and_exts('lrf-meta', metaop, ['lrf']))
|
||||
f.write(opts_and_exts('rtf-meta', metaop, ['rtf']))
|
||||
f.write(opts_and_exts('pdf-meta', metaop, ['pdf']))
|
||||
f.write('''
|
||||
_prs500_ls()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user