]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matitaGui.ml
since there is no more tab, the modification of the current file is in the window...
[helm.git] / matita / matitaGui.ml
index 5bab5ab0ab4dcad44763fca84578cbe89c966ea8..f849dc25f5b5e84d09e067dd759687da415a0918 100644 (file)
@@ -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;