X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2FmatitaGui.ml;h=ed739eefbebb8c9be4a9e5ab95f919166625a722;hb=6355ac16ff3996e16d9d9cfb08e4184bc7962f8b;hp=4ca67368fce43a6d4fe880ad2c75f956f5d518b5;hpb=40a09a72c4e86256ace6e8b26942d1bd2238534b;p=helm.git diff --git a/helm/matita/matitaGui.ml b/helm/matita/matitaGui.ml index 4ca67368f..ed739eefb 100644 --- a/helm/matita/matitaGui.ml +++ b/helm/matita/matitaGui.ml @@ -607,7 +607,9 @@ class gui () = (* log *) HLog.set_log_callback self#console#log_callback; GtkSignal.user_handler := - (fun exn -> + (function + | MatitaScript.ActionCancelled -> () + | exn -> if not (Helm_registry.get_bool "matita.debug") then let floc, msg = MatitaExcPp.to_string exn in begin @@ -725,12 +727,6 @@ class gui () = let top = locker (keep_focus top) in let bottom = locker (keep_focus bottom) in let jump = locker (keep_focus jump) in - let connect_key sym f = - connect_key main#mainWinEventBox#event - ~modifiers:[`CONTROL] ~stop:true sym f; - connect_key self#sourceView#event - ~modifiers:[`CONTROL] ~stop:true sym f - in (* quit *) self#setQuitCallback (fun () -> let lexicon_status = (MatitaScript.current ())#lexicon_status in