From: Enrico Tassi Date: Mon, 12 Nov 2007 21:14:49 +0000 (+0000) Subject: since there is no more tab, the modification of the current file is in the window... X-Git-Tag: 0.4.95@7852~14 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=1f252a3fe87fa261028d026235be17ef02596c97;p=helm.git since there is no more tab, the modification of the current file is in the window title --- diff --git a/matita/matitaGui.ml b/matita/matitaGui.ml index 5bab5ab0a..f849dc25f 100644 --- a/matita/matitaGui.ml +++ b/matita/matitaGui.ml @@ -1379,11 +1379,13 @@ class gui () = end method setStar name b = - let l = main#scriptLabel in + let w = main#toplevel in + let set x = w#set_title x in + let name = "Matita - " ^ name in if b then - l#set_text (name ^ " *") + set (name ^ " *") else - l#set_text (name) + set (name) method private _enableSaveTo file = script_fname <- Some file;