mirror of
				https://github.com/kovidgoyal/calibre.git
				synced 2025-11-03 19:17:02 -05:00 
			
		
		
		
	Fix #779556 (Mac version lost preferences hotkey in 0.8)
This commit is contained in:
		
						commit
						c735c8d69c
					
				@ -19,8 +19,9 @@ class PreferencesAction(InterfaceAction):
 | 
			
		||||
 | 
			
		||||
    def genesis(self):
 | 
			
		||||
        pm = QMenu()
 | 
			
		||||
        acname = _('Change calibre behavior') if isosx else _('Preferences')
 | 
			
		||||
        pm.addAction(QIcon(I('config.png')), acname, self.do_config)
 | 
			
		||||
        pm.addAction(QIcon(I('config.png')), _('Preferences'), 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'),
 | 
			
		||||
                self.gui.run_wizard)
 | 
			
		||||
        if not DEBUG:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user