Plugins/UiExtensionPlugins/PipInterface/Pip.py

changeset 6744
f5249a9927c9
parent 6645
ad476851d7e0
child 6766
c722fcfb5f62
diff -r 833eebe73909 -r f5249a9927c9 Plugins/UiExtensionPlugins/PipInterface/Pip.py
--- a/Plugins/UiExtensionPlugins/PipInterface/Pip.py	Thu Feb 14 18:48:32 2019 +0100
+++ b/Plugins/UiExtensionPlugins/PipInterface/Pip.py	Thu Feb 14 18:57:31 2019 +0100
@@ -29,6 +29,8 @@
 import Preferences
 import Globals
 
+import UI.PixmapCache
+
 
 class Pip(QObject):
     """
@@ -367,6 +369,8 @@
         
         menu = QMenu(self.tr('P&ython Package Management'), self.__ui)
         menu.setTearOffEnabled(True)
+        menu.setIcon(UI.PixmapCache.getIcon("pypi.png"),
+                                      )
         
         menu.addAction(self.selectEnvironmentAct)
         menu.addSeparator()

eric ide

mercurial