eric7/Tools/TrayStarter.py

branch
eric7
changeset 8611
0b1a09e47e98
parent 8387
a68072a69dfc
child 8634
2bbfaad44cbd
equal deleted inserted replaced
8610:c9cd21bcbe33 8611:0b1a09e47e98
137 UI.PixmapCache.getIcon("pluginUninstall"), 137 UI.PixmapCache.getIcon("pluginUninstall"),
138 self.tr("Uninstall Plugin"), self.__startPluginUninstall) 138 self.tr("Uninstall Plugin"), self.__startPluginUninstall)
139 self.__menu.addAction( 139 self.__menu.addAction(
140 UI.PixmapCache.getIcon("pluginRepository"), 140 UI.PixmapCache.getIcon("pluginRepository"),
141 self.tr("Plugin Repository"), self.__startPluginRepository) 141 self.tr("Plugin Repository"), self.__startPluginRepository)
142 self.__menu.addSeparator()
143
144 self.__menu.addAction(
145 UI.PixmapCache.getIcon("virtualenv"),
146 self.tr("Virtual Environments"), self.__startVirtualenvManager)
142 self.__menu.addSeparator() 147 self.__menu.addSeparator()
143 148
144 self.__menu.addAction( 149 self.__menu.addAction(
145 UI.PixmapCache.getIcon("configure"), 150 UI.PixmapCache.getIcon("configure"),
146 self.tr('Preferences'), self.__startPreferences) 151 self.tr('Preferences'), self.__startPreferences)
322 """ 327 """
323 Private slot to start the eric plugin repository dialog. 328 Private slot to start the eric plugin repository dialog.
324 """ 329 """
325 self.__startProc("eric7_pluginrepository.py") 330 self.__startProc("eric7_pluginrepository.py")
326 331
332 def __startVirtualenvManager(self):
333 """
334 Private slot to start the eric virtual environments manager window.
335 """
336 self.__startProc("eric7_virtualenv.py")
337
327 def __startWebBrowser(self): 338 def __startWebBrowser(self):
328 """ 339 """
329 Private slot to start the eric web browser. 340 Private slot to start the eric web browser.
330 """ 341 """
331 variant = Globals.getWebBrowserSupport() 342 variant = Globals.getWebBrowserSupport()

eric ide

mercurial