X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FKERNEL_PY%2Fsalome_iapp.py;h=c3aa0cbf8c80bde41ce29f8b38d80148dd90f11b;hb=8aabfc9256249b3d60820832ac3450978a5a0f19;hp=b7aa1557d240cacb290d435577274b168e2b1e97;hpb=aafab53a937f2ccc30084b14349ae2ef565ca24b;p=modules%2Fkernel.git diff --git a/src/KERNEL_PY/salome_iapp.py b/src/KERNEL_PY/salome_iapp.py index b7aa1557d..c3aa0cbf8 100755 --- a/src/KERNEL_PY/salome_iapp.py +++ b/src/KERNEL_PY/salome_iapp.py @@ -71,25 +71,20 @@ class SalomeOutsideGUI(object): Provides a replacement for class SalomeGUI outside GUI process. Do almost nothing """ - global myStudyId, myStudyName + global myStudyName def hasDesktop(self): """Indicate if GUI is running""" return False - def updateObjBrowser(self, bid): + def updateObjBrowser(self): """update the GUI object browser""" print("SalomeOutsideGUI: no objectBrowser update outside GUI") pass - def getActiveStudyId(self): - """Get the active study id""" - print("SalomeOutsideGUI.getActiveStudyId: avoid use outside GUI") - return myStudyId - - def getActiveStudyName(self): - """Get the active study name""" - print("SalomeOutsideGUI.getActiveStudyName: avoid use outside GUI") + def getStudyName(self): + """Get the study name""" + print("SalomeOutsideGUI.getStudyName: avoid use outside GUI") return myStudyName def SelectedCount(self):