Fix #779556 (Mac version lost preferences hotkey in 0.8)

This commit is contained in:
Kovid Goyal 2011-05-14 18:31:59 -06:00
commit c735c8d69c

View File

@ -19,8 +19,9 @@ class PreferencesAction(InterfaceAction):
def genesis(self): def genesis(self):
pm = QMenu() pm = QMenu()
acname = _('Change calibre behavior') if isosx else _('Preferences') pm.addAction(QIcon(I('config.png')), _('Preferences'), self.do_config)
pm.addAction(QIcon(I('config.png')), acname, self.do_config) if isosx:
pm.addAction(QIcon(I('config.png')), _('Change calibre behavior'), self.do_config)
pm.addAction(QIcon(I('wizard.png')), _('Run welcome wizard'), pm.addAction(QIcon(I('wizard.png')), _('Run welcome wizard'),
self.gui.run_wizard) self.gui.run_wizard)
if not DEBUG: if not DEBUG: