]> matita.cs.unibo.it Git - helm.git/commitdiff
* the click signal now acts on both maction (MathML) and action (BoxML)
authorLuca Padovani <luca.padovani@unito.it>
Tue, 14 Sep 2004 06:44:35 +0000 (06:44 +0000)
committerLuca Padovani <luca.padovani@unito.it>
Tue, 14 Sep 2004 06:44:35 +0000 (06:44 +0000)
helm/DEVEL/lablgtkmathview/gMathViewAux.ml

index 8dfb919ba9d26c66494494ba9b5af0be68af5238..c50e7fb9d85c3154c823f6552ebf398f5a1e386c 100644 (file)
@@ -120,8 +120,9 @@ class single_selection_math_view obj =
    method action_toggle (elem : Gdome.element) =
     match elem#get_namespaceURI, elem#get_localName with
        Some ns, Some ln
-        when ns#to_string = "http://www.w3.org/1998/Math/MathML" &&
-         ln#to_string = "maction"
+        when 
+        (ns#to_string = "http://www.w3.org/1998/Math/MathML" && ln#to_string = "maction") ||
+        (ns#to_string = "http://helm.cs.unibo.it/2003/BoxML" && ln#to_string = "action")
        ->
         begin
          let selection_attr = Gdome.domString "selection" in