This commit is contained in:
Kovid Goyal 2009-06-10 10:37:20 -07:00
parent 9266cfb0a5
commit 46ec597489
3 changed files with 3 additions and 2 deletions

View File

@ -26,7 +26,7 @@ class PRS505(CLI, Device):
PRODUCT_ID = [0x031e] #: Product Id for the PRS-505 PRODUCT_ID = [0x031e] #: Product Id for the PRS-505
BCD = [0x229, 0x1000] #: Needed to disambiguate 505 and 700 on linux BCD = [0x229, 0x1000] #: Needed to disambiguate 505 and 700 on linux
VENDOR_NAME = 'SONY' VENDOR_NAME = 'SONY'
WINDOWS_MAIN_MEM = 'PRS-505' WINDOWS_MAIN_MEM = 'PRS-505'
WINDOWS_CARD_A_MEM = ['PRS-505/UC:MS', 'PRS-505/CE:MS'] WINDOWS_CARD_A_MEM = ['PRS-505/UC:MS', 'PRS-505/CE:MS']
WINDOWS_CARD_B_MEM = ['PRS-505/UC:SD', 'PRS-505/CE:SD'] WINDOWS_CARD_B_MEM = ['PRS-505/UC:SD', 'PRS-505/CE:SD']

View File

@ -23,7 +23,7 @@ class DRMError(ValueError):
pass pass
BOOK_EXTENSIONS = ['lrf', 'rar', 'zip', 'rtf', 'lit', 'txt', 'htm', 'xhtm', BOOK_EXTENSIONS = ['lrf', 'rar', 'zip', 'rtf', 'lit', 'txt', 'htm', 'xhtm',
'html', 'xhtml', 'pdf', 'prc', 'mobi', 'azw', 'doc', 'html', 'xhtml', 'pdf', 'pdb', 'prc', 'mobi', 'azw', 'doc',
'epub', 'fb2', 'djvu', 'lrx', 'cbr', 'cbz', 'oebzip', 'epub', 'fb2', 'djvu', 'lrx', 'cbr', 'cbz', 'oebzip',
'rb', 'imp', 'odt'] 'rb', 'imp', 'odt']

View File

@ -49,4 +49,5 @@ class PluginWidget(Widget, Ui_Form):
if idx < 0: if idx < 0:
idx = 0 idx = 0
g.setCurrentIndex(0) g.setCurrentIndex(0)
return True
return False return False