UI/UserInterface.py

branch
conda
changeset 6701
af29cf6ca309
parent 6698
bc5aa4cda1ee
child 6740
46bb5e2df095
diff -r 2a607332ccf8 -r af29cf6ca309 UI/UserInterface.py
--- a/UI/UserInterface.py	Tue Feb 05 19:39:42 2019 +0100
+++ b/UI/UserInterface.py	Tue Feb 05 19:58:26 2019 +0100
@@ -840,6 +840,14 @@
                               UI.PixmapCache.getIcon("debugViewer.png"),
                               self.tr("Debug-Viewer"))
         
+        # Create the conda package manager
+        logging.debug("Creating Conda Package Manager...")
+        from CondaInterface.CondaPackagesWidget import CondaPackagesWidget
+        self.condaWidget = CondaPackagesWidget(self.condaInterface)
+        self.rToolbox.addItem(self.condaWidget,
+                              UI.PixmapCache.getIcon("miniconda.png"),
+                              self.tr("Conda"))
+
         if Preferences.getUI("ShowCooperation"):
             # Create the chat part of the user interface
             logging.debug("Creating Chat Widget...")
@@ -984,7 +992,7 @@
         # Create the conda package manager
         logging.debug("Creating Conda Package Manager...")
         from CondaInterface.CondaPackagesWidget import CondaPackagesWidget
-        self.condaWidget = CondaPackagesWidget()
+        self.condaWidget = CondaPackagesWidget(self.condaInterface)
         self.rightSidebar.addTab(
             self.condaWidget, UI.PixmapCache.getIcon("miniconda.png"),
             self.tr("Conda"))

eric ide

mercurial