src/eric7/UI/UserInterface.py

branch
eric7
changeset 9433
6df1aeaa4529
parent 9429
b2db3a67525c
child 9442
906485dcd210
child 9448
ea215f7afab3
equal deleted inserted replaced
9432:e2445fa08533 9433:6df1aeaa4529
730 self.shutdownCalled = False 730 self.shutdownCalled = False
731 self.inCloseEvent = False 731 self.inCloseEvent = False
732 732
733 # now redirect stdout and stderr 733 # now redirect stdout and stderr
734 # TODO: release - reenable redirection 734 # TODO: release - reenable redirection
735 ## sys.stdout = self.stdout # __IGNORE_WARNING_M891__ 735 ##sys.stdout = self.stdout # __IGNORE_WARNING_M891__
736 ## sys.stderr = self.stderr # __IGNORE_WARNING_M891__ 736 ##sys.stderr = self.stderr # __IGNORE_WARNING_M891__
737 737
738 # now fire up the single application server 738 # now fire up the single application server
739 if Preferences.getUI("SingleApplicationMode"): 739 if Preferences.getUI("SingleApplicationMode"):
740 splash.showMessage(self.tr("Initializing Single Application Server...")) 740 splash.showMessage(self.tr("Initializing Single Application Server..."))
741 self.SAServer = EricSingleApplicationServer() 741 self.SAServer = EricSingleApplicationServer()
4533 4533
4534 def __showWizardsMenu(self): 4534 def __showWizardsMenu(self):
4535 """ 4535 """
4536 Private slot to display the Wizards menu. 4536 Private slot to display the Wizards menu.
4537 """ 4537 """
4538 actionsList = self.__menus["wizards"].actions()
4539 self.__menus["wizards"].clear()
4540 self.__menus["wizards"].addActions(
4541 sorted(actionsList, key=lambda a: a.text().replace("&", ""))
4542 )
4538 self.showMenu.emit("Wizards", self.__menus["wizards"]) 4543 self.showMenu.emit("Wizards", self.__menus["wizards"])
4539 4544
4540 def __showHelpMenu(self): 4545 def __showHelpMenu(self):
4541 """ 4546 """
4542 Private slot to display the Help menu. 4547 Private slot to display the Help menu.

eric ide

mercurial