Plugins/ViewManagerPlugins/Tabview/Tabview.py

changeset 825
9cdec3c5bc07
parent 791
9ec2ac20e54e
child 945
8cd4d08fa9f6
child 1417
d5dac73181be
--- a/Plugins/ViewManagerPlugins/Tabview/Tabview.py	Fri Jan 07 12:08:01 2011 +0100
+++ b/Plugins/ViewManagerPlugins/Tabview/Tabview.py	Fri Jan 07 12:38:39 2011 +0100
@@ -241,9 +241,6 @@
             self.trUtf8('Save As...'), self.__contextMenuSaveAs)
         self.__menu.addAction(UI.PixmapCache.getIcon("fileSaveAll.png"),
             self.trUtf8('Save All'), self.__contextMenuSaveAll)
-        self.projectMenuAct = \
-            self.__menu.addAction(UI.PixmapCache.getIcon("fileSaveProject.png"),
-                self.trUtf8('Save to Project'), self.__contextMenuSaveToProject)
         self.__menu.addSeparator()
         self.__menu.addAction(UI.PixmapCache.getIcon("print.png"),
             self.trUtf8('Print'), self.__contextMenuPrintFile)
@@ -263,7 +260,6 @@
             if self.contextMenuEditor:
                 self.saveMenuAct.setEnabled(self.contextMenuEditor.isModified())
                 self.copyPathAct.setEnabled(bool(self.contextMenuEditor.getFileName()))
-            self.projectMenuAct.setEnabled(e5App().getObject("Project").isOpen())
             
             self.contextMenuIndex = index
             self.leftMenuAct.setEnabled(index > 0)
@@ -539,13 +535,6 @@
         """
         self.vm.saveEditorsList(self.editors)
         
-    def __contextMenuSaveToProject(self):
-        """
-        Private method to save the selected tab to the current project.
-        """
-        if self.contextMenuEditor:
-            self.vm.saveEditorToProjectEd(self.contextMenuEditor)
-        
     def __contextMenuPrintFile(self):
         """
         Private method to print the selected tab.

eric ide

mercurial