From: Pascale Noyret Date: Mon, 29 Oct 2007 12:43:46 +0000 (+0000) Subject: nom du signet dans le tabview X-Git-Tag: V1_13b1~37 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b8ff79fa00d880bd7f1719407c71947d99a3ce11;p=modules%2Feficas.git nom du signet dans le tabview --- diff --git a/InterfaceQT/compomacro.py b/InterfaceQT/compomacro.py index 5c959402..79f2663b 100644 --- a/InterfaceQT/compomacro.py +++ b/InterfaceQT/compomacro.py @@ -53,7 +53,6 @@ class INCLUDENode(browser.JDCNode,typeNode.PopUpMenuNode): typeNode.PopUpMenuNode.createPopUpMenu(self) self.menu.insertItem( qApp.translate('Browser','Edit'), self.makeEdit ) - def makeEdit(self): #,appli,node if self.item.object.text_converted == 0: # Le texte du fichier inclus n'a pas pu etre converti par le module convert @@ -66,13 +65,12 @@ class INCLUDENode(browser.JDCNode,typeNode.PopUpMenuNode): self.item.object.build_include(None,"") # On cree un nouvel onglet dans le bureau - self.editor.vm.displayJDC( self.item.object.jdc_aux ) #, self.item.object.jdc_aux.nom ) + self.editor.vm.displayJDC( self.item.object.jdc_aux , self.item.object.jdc_aux.nom.split("/")[-1] ) def makeView(self):#,appli,node): pass #CS_pbruno todo - class INCLUDETreeItem(INCLUDETreeItemBase): itemNode=INCLUDENode