Salome HOME
projects
/
modules
/
homard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
8712ebf
)
0023360: [CEA 1963] Use salome.sg.updateObjBrowser(True) instead of salome.sg.updateO...
author
vsr
<vsr@opencascade.com>
Thu, 6 Oct 2016 07:59:43 +0000
(10:59 +0300)
committer
vsr
<vsr@opencascade.com>
Thu, 6 Oct 2016 07:59:43 +0000
(10:59 +0300)
15 files changed:
doc/files/tutorial_1.py
patch
|
blob
|
history
doc/files/tutorial_2.py
patch
|
blob
|
history
doc/files/tutorial_3.py
patch
|
blob
|
history
doc/files/tutorial_4.py
patch
|
blob
|
history
doc/files/tutorial_5.py
patch
|
blob
|
history
src/tests/Test/test_1.py
patch
|
blob
|
history
src/tests/Test/test_2.py
patch
|
blob
|
history
src/tests/Test/test_3.py
patch
|
blob
|
history
src/tests/Test/test_4.py
patch
|
blob
|
history
src/tests/Test/test_5.py
patch
|
blob
|
history
src/tests/Test/tutorial_1.py
patch
|
blob
|
history
src/tests/Test/tutorial_2.py
patch
|
blob
|
history
src/tests/Test/tutorial_3.py
patch
|
blob
|
history
src/tests/Test/tutorial_4.py
patch
|
blob
|
history
src/tests/Test/tutorial_5.py
patch
|
blob
|
history
diff --git
a/doc/files/tutorial_1.py
b/doc/files/tutorial_1.py
index 63bf336de33c994f46229e0bfe6c11386e76cab3..b1553c178b01fb8fcfdb1ffc05910b0507c6f92c 100755
(executable)
--- a/
doc/files/tutorial_1.py
+++ b/
doc/files/tutorial_1.py
@@
-89,4
+89,4
@@
gzip_gunzip(DATA_TUTORIAL, 1, 1)
# ==================================
#
if salome.sg.hasDesktop():
# ==================================
#
if salome.sg.hasDesktop():
- salome.sg.updateObjBrowser(
1
)
+ salome.sg.updateObjBrowser(
True
)
diff --git
a/doc/files/tutorial_2.py
b/doc/files/tutorial_2.py
index d2e682c9332d046852a7d15c6904ba767dcdc5e9..ad007671bef6ce4ea175a5beb7f41d814385e071 100755
(executable)
--- a/
doc/files/tutorial_2.py
+++ b/
doc/files/tutorial_2.py
@@
-99,4
+99,4
@@
gzip_gunzip(DATA_TUTORIAL, 2, 1)
# ==================================
if salome.sg.hasDesktop():
# ==================================
if salome.sg.hasDesktop():
- salome.sg.updateObjBrowser(
1
)
+ salome.sg.updateObjBrowser(
True
)
diff --git
a/doc/files/tutorial_3.py
b/doc/files/tutorial_3.py
index 08518d82d1dd340407e06b2d4e3ea0cf52930a4e..07957b8092f289b4cd158d495bc6fb139c2ca13d 100755
(executable)
--- a/
doc/files/tutorial_3.py
+++ b/
doc/files/tutorial_3.py
@@
-128,4
+128,4
@@
gzip_gunzip(DATA_TUTORIAL, 3, 1)
# ==================================
if salome.sg.hasDesktop():
# ==================================
if salome.sg.hasDesktop():
- salome.sg.updateObjBrowser(
1
)
+ salome.sg.updateObjBrowser(
True
)
diff --git
a/doc/files/tutorial_4.py
b/doc/files/tutorial_4.py
index 9d27024aa35fd5b8753a51eac210b0db82d5adaa..8b8a583daa710d265da30211371a1b77d7b74d9c 100755
(executable)
--- a/
doc/files/tutorial_4.py
+++ b/
doc/files/tutorial_4.py
@@
-115,4
+115,4
@@
gzip_gunzip(DATA_TUTORIAL, 4, 1)
# ==================================
if salome.sg.hasDesktop():
# ==================================
if salome.sg.hasDesktop():
- salome.sg.updateObjBrowser(
1
)
+ salome.sg.updateObjBrowser(
True
)
diff --git
a/doc/files/tutorial_5.py
b/doc/files/tutorial_5.py
index 6157aca27345a69dfc0f3bf93214534756f45707..cdcd96e766944f11ef927421a91db0ea413cc7d2 100755
(executable)
--- a/
doc/files/tutorial_5.py
+++ b/
doc/files/tutorial_5.py
@@
-99,4
+99,4
@@
gzip_gunzip(DATA_TUTORIAL, 5, 1)
# ==================================
if salome.sg.hasDesktop():
# ==================================
if salome.sg.hasDesktop():
- salome.sg.updateObjBrowser(
1
)
+ salome.sg.updateObjBrowser(
True
)
diff --git
a/src/tests/Test/test_1.py
b/src/tests/Test/test_1.py
index 6f63614b57bea4684caf919de75f9c1679ef5131..2bb3ca2666e754c0c1ce38f91964e173d03bed95 100755
(executable)
--- a/
src/tests/Test/test_1.py
+++ b/
src/tests/Test/test_1.py
@@
-215,6
+215,6
@@
DESTROY_DIR = not DEBUG
test_results(REP_DATA, TEST_NAME, DIRCASE, N_ITER_TEST_FILE, N_REP_TEST_FILE, DESTROY_DIR)
#
if salome.sg.hasDesktop():
test_results(REP_DATA, TEST_NAME, DIRCASE, N_ITER_TEST_FILE, N_REP_TEST_FILE, DESTROY_DIR)
#
if salome.sg.hasDesktop():
- salome.sg.updateObjBrowser(
1
)
+ salome.sg.updateObjBrowser(
True
)
iparameters.getSession().restoreVisualState(1)
iparameters.getSession().restoreVisualState(1)
diff --git
a/src/tests/Test/test_2.py
b/src/tests/Test/test_2.py
index 30383a8f93a86d247f57519c8f4b534cad3685ac..fd92d1f8b7f06daa27110f276829a411e2c01d87 100755
(executable)
--- a/
src/tests/Test/test_2.py
+++ b/
src/tests/Test/test_2.py
@@
-187,6
+187,6
@@
DESTROY_DIR = not DEBUG
test_results(REP_DATA, TEST_NAME, DIRCASE, N_ITER_TEST_FILE, N_REP_TEST_FILE, DESTROY_DIR)
#
if salome.sg.hasDesktop():
test_results(REP_DATA, TEST_NAME, DIRCASE, N_ITER_TEST_FILE, N_REP_TEST_FILE, DESTROY_DIR)
#
if salome.sg.hasDesktop():
- salome.sg.updateObjBrowser(
1
)
+ salome.sg.updateObjBrowser(
True
)
iparameters.getSession().restoreVisualState(1)
iparameters.getSession().restoreVisualState(1)
diff --git
a/src/tests/Test/test_3.py
b/src/tests/Test/test_3.py
index 68ca97181ceb7336c06e18cc7c9120e32055f753..ddaa7a16b5459767ce21e0accf19ffe839a6b759 100755
(executable)
--- a/
src/tests/Test/test_3.py
+++ b/
src/tests/Test/test_3.py
@@
-221,6
+221,6
@@
DESTROY_DIR = not DEBUG
test_results(REP_DATA, TEST_NAME, DIRCASE, N_ITER_TEST_FILE, N_REP_TEST_FILE, DESTROY_DIR)
#
if salome.sg.hasDesktop():
test_results(REP_DATA, TEST_NAME, DIRCASE, N_ITER_TEST_FILE, N_REP_TEST_FILE, DESTROY_DIR)
#
if salome.sg.hasDesktop():
- salome.sg.updateObjBrowser(
1
)
+ salome.sg.updateObjBrowser(
True
)
iparameters.getSession().restoreVisualState(1)
iparameters.getSession().restoreVisualState(1)
diff --git
a/src/tests/Test/test_4.py
b/src/tests/Test/test_4.py
index 01013b3b97b351dfbc858598f8dfc811fd983d09..e4facd3df597330535f5a2fabdcf4bc6e1cae424 100755
(executable)
--- a/
src/tests/Test/test_4.py
+++ b/
src/tests/Test/test_4.py
@@
-343,6
+343,6
@@
DESTROY_DIR = not DEBUG
test_results(REP_DATA, TEST_NAME, DIRCASE, N_ITER_TEST_FILE, N_REP_TEST_FILE, DESTROY_DIR)
#
if salome.sg.hasDesktop():
test_results(REP_DATA, TEST_NAME, DIRCASE, N_ITER_TEST_FILE, N_REP_TEST_FILE, DESTROY_DIR)
#
if salome.sg.hasDesktop():
- salome.sg.updateObjBrowser(
1
)
+ salome.sg.updateObjBrowser(
True
)
iparameters.getSession().restoreVisualState(1)
iparameters.getSession().restoreVisualState(1)
diff --git
a/src/tests/Test/test_5.py
b/src/tests/Test/test_5.py
index 14c94649db45032ff45bb7d3d9c5060c2f4a6eb8..07aa93f30da1a45702e5a72544a577c42a0bded4 100755
(executable)
--- a/
src/tests/Test/test_5.py
+++ b/
src/tests/Test/test_5.py
@@
-331,6
+331,6
@@
DESTROY_DIR = not DEBUG
test_results(REP_DATA, TEST_NAME, DIRCASE, N_ITER_TEST_FILE, N_REP_TEST_FILE, DESTROY_DIR)
#
if salome.sg.hasDesktop():
test_results(REP_DATA, TEST_NAME, DIRCASE, N_ITER_TEST_FILE, N_REP_TEST_FILE, DESTROY_DIR)
#
if salome.sg.hasDesktop():
- salome.sg.updateObjBrowser(
1
)
+ salome.sg.updateObjBrowser(
True
)
iparameters.getSession().restoreVisualState(1)
iparameters.getSession().restoreVisualState(1)
diff --git
a/src/tests/Test/tutorial_1.py
b/src/tests/Test/tutorial_1.py
index df809e68d33914308455b277c10d6251280e9542..201490bfbafad641db509902d019c24e21cd2b96 100755
(executable)
--- a/
src/tests/Test/tutorial_1.py
+++ b/
src/tests/Test/tutorial_1.py
@@
-137,6
+137,6
@@
gzip_gunzip(DATA_TUTORIAL, 1, 1)
# ==================================
#
if salome.sg.hasDesktop():
# ==================================
#
if salome.sg.hasDesktop():
- salome.sg.updateObjBrowser(
1
)
+ salome.sg.updateObjBrowser(
True
)
iparameters.getSession().restoreVisualState(1)
iparameters.getSession().restoreVisualState(1)
diff --git
a/src/tests/Test/tutorial_2.py
b/src/tests/Test/tutorial_2.py
index 8ffcb5c74c04faa974dafc4936378c019aaf4448..ee9802de4205a26e2b4ce71d6698f5ec322b15f6 100755
(executable)
--- a/
src/tests/Test/tutorial_2.py
+++ b/
src/tests/Test/tutorial_2.py
@@
-148,6
+148,6
@@
gzip_gunzip(DATA_TUTORIAL, 2, 1)
# ==================================
#
if salome.sg.hasDesktop():
# ==================================
#
if salome.sg.hasDesktop():
- salome.sg.updateObjBrowser(
1
)
+ salome.sg.updateObjBrowser(
True
)
iparameters.getSession().restoreVisualState(1)
iparameters.getSession().restoreVisualState(1)
diff --git
a/src/tests/Test/tutorial_3.py
b/src/tests/Test/tutorial_3.py
index 950cbbb4be9d41760b040000bc08d472e7ebaaaa..8a043061f7c21190edcb476c877051c8898255de 100755
(executable)
--- a/
src/tests/Test/tutorial_3.py
+++ b/
src/tests/Test/tutorial_3.py
@@
-177,6
+177,6
@@
gzip_gunzip(DATA_TUTORIAL, 3, 1)
# ==================================
#
if salome.sg.hasDesktop():
# ==================================
#
if salome.sg.hasDesktop():
- salome.sg.updateObjBrowser(
1
)
+ salome.sg.updateObjBrowser(
True
)
iparameters.getSession().restoreVisualState(1)
iparameters.getSession().restoreVisualState(1)
diff --git
a/src/tests/Test/tutorial_4.py
b/src/tests/Test/tutorial_4.py
index 3a0b0a6bde5632f4150a8b4476abfdcc0b3ba6e5..676b2876cfc648fb15eda9f3b9964cb55fa89ea7 100755
(executable)
--- a/
src/tests/Test/tutorial_4.py
+++ b/
src/tests/Test/tutorial_4.py
@@
-164,6
+164,6
@@
gzip_gunzip(DATA_TUTORIAL, 4, 1)
# ==================================
#
if salome.sg.hasDesktop():
# ==================================
#
if salome.sg.hasDesktop():
- salome.sg.updateObjBrowser(
1
)
+ salome.sg.updateObjBrowser(
True
)
iparameters.getSession().restoreVisualState(1)
iparameters.getSession().restoreVisualState(1)
diff --git
a/src/tests/Test/tutorial_5.py
b/src/tests/Test/tutorial_5.py
index fb29053773ec1cb8cc57c789455d939df46085dd..c79201f0422dcf4475959fda3a65f8927032c8cd 100755
(executable)
--- a/
src/tests/Test/tutorial_5.py
+++ b/
src/tests/Test/tutorial_5.py
@@
-148,6
+148,6
@@
gzip_gunzip(DATA_TUTORIAL, 5, 1)
# ==================================
#
if salome.sg.hasDesktop():
# ==================================
#
if salome.sg.hasDesktop():
- salome.sg.updateObjBrowser(
1
)
+ salome.sg.updateObjBrowser(
True
)
iparameters.getSession().restoreVisualState(1)
iparameters.getSession().restoreVisualState(1)