]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
Recommit fix for icons in Salome (rollback of previous fix?)
authorRenaud Barate <renaud.barate@edf.fr>
Wed, 9 Nov 2011 10:09:27 +0000 (10:09 +0000)
committerRenaud Barate <renaud.barate@edf.fr>
Wed, 9 Nov 2011 10:09:27 +0000 (10:09 +0000)
InterfaceQT4/qtEficas.py

index 77cd6878edd2df2ff8db258d1540c474670e2fd8..eca8f1e67d7c0d18531436b1ffffc3ae6a642d04 100644 (file)
@@ -26,15 +26,15 @@ class Appli(Ui_Eficas,QMainWindow):
         self.VERSION_EFICAS="Eficas QT4 V6.3.1"
         self.salome=salome
         self.ihm="QT"
-       self.top = self    #(pour CONFIGURATION)
+        self.top = self    #(pour CONFIGURATION)
         self.QWParent=None #(Pour lancement sans IHM)
         self.indice=0
         self.dict_reels={}
 
         self.multi=multi
         if self.multi == False :self.definitCode(code,ssCode)
-        self.RepIcon=os.path.abspath(os.path.join(os.getcwd(),'../Editeur/icons'))
         eficas_root_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
+        self.RepIcon = os.path.join(eficas_root_dir, "Editeur", "icons")
         self.ajoutIcones()