Salome HOME
projects
/
modules
/
adao.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clarifying user interaction in EFICAS/YACS transfer process and corrections
[modules/adao.git]
/
src
/
daEficas
/
configuration_ADAO.py
diff --git
a/src/daEficas/configuration_ADAO.py
b/src/daEficas/configuration_ADAO.py
index 4c26fc4bcef58005b4794703e6bb298a9fcbcf58..4cd78ec398664b6349a9736e2afebbebb2957842 100644
(file)
--- a/
src/daEficas/configuration_ADAO.py
+++ b/
src/daEficas/configuration_ADAO.py
@@
-1,5
+1,8
@@
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
-# Copyright (C) 2010-2011 EDF R&D
+#
+# Copyright (C) 2008-2015 EDF R&D
+#
+# This file is part of SALOME ADAO module
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@
-30,16
+33,21
@@
from PyQt4.QtGui import *
# Modules Eficas
from Editeur import utils
# Modules Eficas
from Editeur import utils
+from InterfaceQT4 import configuration
# Classe de base permettant de lire, afficher
# Classe de base permettant de lire, afficher
-# et sauvegarder les fichiers utilisateurs
-class CONFIG:
+# et sauvegarder les fichiers utilisateurs
+class CONFIG
(configuration.CONFIG_BASE)
:
def __init__(self,appli,repIni):
def __init__(self,appli,repIni):
+ self.labels_eficas = ['lang']
+ configuration.CONFIG_BASE.__init__(self,appli,repIni)
+
self.rep_user = os.environ["HOME"]
self.rep_user = os.environ["HOME"]
- self.appli = appli
+ self.appli = appli
self.code = appli.code
self.code = appli.code
+ # self.lang = "fr"
self.rep_ini = repIni
self.rep_mat=" " # Compatbilite Aster
self.savedir = self.rep_user
self.rep_ini = repIni
self.rep_mat=" " # Compatbilite Aster
self.savedir = self.rep_user