Add Nook to welcome wizard

This commit is contained in:
Kovid Goyal 2009-12-08 09:02:16 -07:00
parent b105b4cdbc
commit bddbefd121
2 changed files with 6 additions and 1 deletions

View File

@ -354,7 +354,7 @@ class Main(MainWindow, Ui_MainWindow, DeviceGUI):
pm = QMenu() pm = QMenu()
ap = self.action_preferences ap = self.action_preferences
pm.addAction(ap.icon(), ap.text()) pm.addAction(ap.icon(), ap.text())
pm.addAction(_('Run welcome wizard')) pm.addAction(QIcon(I('wizard.svg')), _('Run welcome wizard'))
self.connect(pm.actions()[0], SIGNAL('triggered(bool)'), self.connect(pm.actions()[0], SIGNAL('triggered(bool)'),
self.do_config) self.do_config)
self.connect(pm.actions()[1], SIGNAL('triggered(bool)'), self.connect(pm.actions()[1], SIGNAL('triggered(bool)'),

View File

@ -92,6 +92,11 @@ class Sony505(Sony500):
name = 'SONY Reader Pocket/Touch Edition' name = 'SONY Reader Pocket/Touch Edition'
id = 'prs505' id = 'prs505'
class Nook(Sony505):
id = 'nook'
name = 'Nook'
manufacturer = 'Barnes & Noble'
class CybookG3(Device): class CybookG3(Device):
name = 'Cybook Gen 3' name = 'Cybook Gen 3'