From c9e8ca27ee92a486d7dca1de01d10d81abb82f40 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Fri, 21 Nov 2008 11:00:50 +0000
Subject: [PATCH] cleanup log

---
 Mesh/Generator.cpp | 14 +++++++-------
 Mesh/HighOrder.cpp |  2 +-
 Mesh/Partition.cpp |  5 ++---
 Mesh/Refine.cpp    |  2 +-
 4 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/Mesh/Generator.cpp b/Mesh/Generator.cpp
index a6185f3000..1ed7bad20f 100644
--- a/Mesh/Generator.cpp
+++ b/Mesh/Generator.cpp
@@ -316,7 +316,7 @@ static void Mesh1D(GModel *m)
   double t2 = Cpu();
   CTX.mesh_timer[0] = t2 - t1;
   Msg::Info("Mesh 1D complete (%g s)", CTX.mesh_timer[0]);
-  Msg::StatusBar(1, true, "Mesh");
+  Msg::StatusBar(1, false, "Mesh");
 }
 
 static void PrintMesh2dStatistics(GModel *m)
@@ -412,7 +412,7 @@ static void Mesh2D(GModel *m)
   double t2 = Cpu();
   CTX.mesh_timer[1] = t2 - t1;
   Msg::Info("Mesh 2D complete (%g s)", CTX.mesh_timer[1]);
-  Msg::StatusBar(1, true, "Mesh");
+  Msg::StatusBar(1, false, "Mesh");
 
   PrintMesh2dStatistics(m);
 }
@@ -455,7 +455,7 @@ static void Mesh3D(GModel *m)
   double t2 = Cpu();
   CTX.mesh_timer[2] = t2 - t1;
   Msg::Info("Mesh 3D complete (%g s)", CTX.mesh_timer[2]);
-  Msg::StatusBar(1, true, "Mesh");
+  Msg::StatusBar(1, false, "Mesh");
 }
 
 void OptimizeMeshNetgen(GModel *m)
@@ -467,7 +467,7 @@ void OptimizeMeshNetgen(GModel *m)
 
   double t2 = Cpu();
   Msg::Info("Mesh 3D optimization with Netgen complete (%g s)", t2 - t1);
-  Msg::StatusBar(1, true, "Mesh");
+  Msg::StatusBar(1, false, "Mesh");
 }
 
 void OptimizeMesh(GModel *m)
@@ -479,12 +479,12 @@ void OptimizeMesh(GModel *m)
 
   double t2 = Cpu();
   Msg::Info("Mesh 3D optimization complete (%g s)", t2 - t1);
-  Msg::StatusBar(1, true, "Mesh");
+  Msg::StatusBar(1, false, "Mesh");
 }
 
 void AdaptMesh(GModel *m)
 {
-  Msg::StatusBar(1, true, "Adapting the 3D Mesh...");
+  Msg::StatusBar(1, true, "Adapting 3D Mesh...");
   double t1 = Cpu();
 
   if(CTX.threads_lock) {
@@ -507,7 +507,7 @@ void AdaptMesh(GModel *m)
 
   double t2 = Cpu();
   Msg::Info("Mesh Adaptation complete (%g s)", t2 - t1);
-  Msg::StatusBar(1, true, "Mesh");
+  Msg::StatusBar(1, false, "Mesh");
 }
 
 void GenerateMesh(GModel *m, int ask)
diff --git a/Mesh/HighOrder.cpp b/Mesh/HighOrder.cpp
index 61deb15e4f..86726c421c 100644
--- a/Mesh/HighOrder.cpp
+++ b/Mesh/HighOrder.cpp
@@ -1070,5 +1070,5 @@ void SetOrderN(GModel *m, int order, bool linear, bool incomplete)
 
   double t2 = Cpu();
   Msg::Info("Meshing order %d complete (%g s)", order, t2 - t1);
-  Msg::StatusBar(1, true, "Mesh");
+  Msg::StatusBar(1, false, "Mesh");
 }
diff --git a/Mesh/Partition.cpp b/Mesh/Partition.cpp
index c189f83b68..3eb51ac678 100644
--- a/Mesh/Partition.cpp
+++ b/Mesh/Partition.cpp
@@ -95,7 +95,7 @@ int PartitionMesh(GModel *const model, PartitionOptions &options)
   Msg::StatusBar(1, true, "Partitioning graph...");
   if(!ier) ier = PartitionGraph(graph, options);
   if(ier) {
-    Msg::StatusBar(1, true, "Mesh");
+    Msg::StatusBar(1, false, "Mesh");
     return 1;
   }
 
@@ -123,9 +123,8 @@ int PartitionMesh(GModel *const model, PartitionOptions &options)
 
   model->recomputeMeshPartitions();
   Msg::Info("Partitioning complete");
-  Msg::StatusBar(1, true, "Mesh");
+  Msg::StatusBar(1, false, "Mesh");
   return 0;
-
 }
 
 
diff --git a/Mesh/Refine.cpp b/Mesh/Refine.cpp
index c69b83c25f..97add1fd40 100644
--- a/Mesh/Refine.cpp
+++ b/Mesh/Refine.cpp
@@ -234,5 +234,5 @@ void RefineMesh(GModel *m, bool linear)
 
   double t2 = Cpu();
   Msg::Info("Mesh refinement complete (%g s)", t2 - t1);
-  Msg::StatusBar(1, true, "Mesh");
+  Msg::StatusBar(1, false, "Mesh");
 }
-- 
GitLab