]> matita.cs.unibo.it Git - helm.git/commitdiff
Msg reporting via HLogger in the error window made asynchronous => speedup.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Fri, 8 Jun 2012 08:59:06 +0000 (08:59 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Fri, 8 Jun 2012 08:59:06 +0000 (08:59 +0000)
matita/matita/matitaGui.ml

index d009a63f6f43646846a782265bb276743325e708..0ecede6227638f2a6dd304c35704491395d9617a 100644 (file)
@@ -774,7 +774,7 @@ class gui () =
       main#unicodeAsTexMenuItem#set_active
         (Helm_registry.get_bool "matita.paste_unicode_as_tex");
         (* log *)
-      HLog.set_log_callback self#console#log_callback;
+      HLog.set_log_callback (fun tag msg -> GtkThread.async (self#console#log_callback tag) msg);
       GtkSignal.user_handler :=
         (function 
         | MatitaScript.ActionCancelled s -> HLog.error s