]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
NRI : Merge from V1_2.
authornri <nri@opencascade.com>
Thu, 10 Jul 2003 16:31:38 +0000 (16:31 +0000)
committernri <nri@opencascade.com>
Thu, 10 Jul 2003 16:31:38 +0000 (16:31 +0000)
src/SMESHGUI/SMESHGUI_Swig.cxx
src/SMESHGUI/SMESHGUI_Swig.i

index f34629ff6727cfbedfdd4e4b19cb1f25793f0b83..67bdff519b1bde4f31037c06bae51164a8434367 100644 (file)
@@ -94,7 +94,8 @@ void SMESH_Swig::Init(int studyID)
     father = myStudyBuilder->NewComponent("MESH");
     anAttr = myStudyBuilder->FindOrCreateAttribute(father, "AttributeName");
     aName = SALOMEDS::AttributeName::_narrow(anAttr);
-    aName->SetValue(QObject::tr("SMESH_MEN_COMPONENT"));
+    //NRI    aName->SetValue(QObject::tr("SMESH_MEN_COMPONENT"));
+    aName->SetValue( QAD_Application::getDesktop()->getComponentUserName( "SMESH" ) );
     anAttr = myStudyBuilder->FindOrCreateAttribute(father, "AttributePixMap");
     aPixmap = SALOMEDS::AttributePixMap::_narrow(anAttr);
     aPixmap->SetPixMap( "ICON_OBJBROWSER_SMESH" );
index 19b5e3c84ecb7b3c088ea44848db48e8ee642a68..dd6e50d15abe6f494313dc489bfe064bb097aed7 100644 (file)
 
 %include "typemaps.i"
 
-class SMESHGUI_Swig
+class SMESH_Swig
 {
  public:
-  SMESHGUI_Swig();
-  ~SMESHGUI_Swig();
+  SMESH_Swig();
+  ~SMESH_Swig();
 
   void Init(int studyID);