From 3039992085fe1fa39a0cdb799e9da44bd02b5643 Mon Sep 17 00:00:00 2001 From: John Schember Date: Thu, 9 Jul 2009 19:14:53 -0400 Subject: [PATCH] Shorten DR1000 profile class name. Enable DR1000 driver. --- src/calibre/customize/builtins.py | 2 ++ src/calibre/customize/profiles.py | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/calibre/customize/builtins.py b/src/calibre/customize/builtins.py index 341a7fa37d..f776c41f62 100644 --- a/src/calibre/customize/builtins.py +++ b/src/calibre/customize/builtins.py @@ -349,6 +349,7 @@ from calibre.devices.bebook.driver import BEBOOK, BEBOOK_MINI from calibre.devices.blackberry.driver import BLACKBERRY from calibre.devices.cybookg3.driver import CYBOOKG3 from calibre.devices.eb600.driver import EB600 +from calibre.devices.irexdr.driver import IRexDR1000 from calibre.devices.jetbook.driver import JETBOOK from calibre.devices.kindle.driver import KINDLE, KINDLE2, KINDLE_DX from calibre.devices.prs500.driver import PRS500 @@ -393,6 +394,7 @@ plugins += [ BLACKBERRY, CYBOOKG3, EB600, + IRexDR1000, JETBOOK, KINDLE, KINDLE2, diff --git a/src/calibre/customize/profiles.py b/src/calibre/customize/profiles.py index 46f2283b26..19c59dfb99 100644 --- a/src/calibre/customize/profiles.py +++ b/src/calibre/customize/profiles.py @@ -146,7 +146,7 @@ class IlliadInput(InputProfile): fbase = 12 fsizes = [7.5, 9, 10, 12, 15.5, 20, 22, 24] -class IRexDigitalReader1000Input(InputProfile): +class IRexDR1000Input(InputProfile): author = 'John Schember' name = 'IRex Digital Reader 1000' @@ -161,7 +161,7 @@ class IRexDigitalReader1000Input(InputProfile): input_profiles = [InputProfile, SonyReaderInput, MSReaderInput, MobipocketInput, HanlinV3Input, CybookG3Input, CybookOpus, KindleInput, - IlliadInput, IRexDigitalReader1000Input] + IlliadInput, IRexDR1000Input] class OutputProfile(Plugin): @@ -317,7 +317,7 @@ class IlliadOutput(OutputProfile): fbase = 12 fsizes = [7.5, 9, 10, 12, 15.5, 20, 22, 24] -class IRexDigitalReader1000Output(OutputProfile): +class IRexDR1000Output(OutputProfile): author = 'John Schember' name = 'IRex Digital Reader 1000' @@ -334,4 +334,4 @@ class IRexDigitalReader1000Output(OutputProfile): output_profiles = [OutputProfile, SonyReaderOutput, MSReaderOutput, MobipocketOutput, HanlinV3Output, CybookG3Output, KindleOutput, SonyReaderLandscapeOutput, KindleDXOutput, IlliadOutput, - IRexDigitalReader1000Output] + IRexDR1000Output]