]> matita.cs.unibo.it Git - helm.git/commitdiff
since there is no more tab, the modification of the current file is in the window...
authorEnrico Tassi <enrico.tassi@inria.fr>
Mon, 12 Nov 2007 21:14:49 +0000 (21:14 +0000)
committerEnrico Tassi <enrico.tassi@inria.fr>
Mon, 12 Nov 2007 21:14:49 +0000 (21:14 +0000)
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;