Possible fix for bug #779556: Preferences hotkey lost in Mac version.

This commit is contained in:
John Schember 2011-05-14 19:49:45 -04:00
parent 679857b342
commit 37319b8503

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: