tuned GUI;
authorwenzelm
Mon, 14 Aug 2017 16:03:24 +0200
changeset 66418 410b10ea405c
parent 66417 1f46b6693b56
child 66419 8194ed7cf2cb
child 66421 7fa0b300fb0d
tuned GUI;
src/Tools/jEdit/src/theories_dockable.scala
--- a/src/Tools/jEdit/src/theories_dockable.scala	Mon Aug 14 15:52:07 2017 +0200
+++ b/src/Tools/jEdit/src/theories_dockable.scala	Mon Aug 14 16:03:24 2017 +0200
@@ -47,10 +47,14 @@
         val index_location = peer.indexToLocation(index)
         if (index >= 0 && in_checkbox(index_location, point))
           tooltip = "Mark as required for continuous checking"
-        else if (index >= 0 && in_label(index_location, point))
-          tooltip = "theory " + quote(listData(index).theory)
-        else
-          tooltip = null
+        else if (index >= 0 && in_label(index_location, point)) {
+          val name = listData(index)
+          val st = overall_node_status(name)
+          tooltip =
+            "theory " + quote(name.theory) +
+              (if (st == Overall_Node_Status.ok) "" else " (" + st + ")")
+        }
+        else tooltip = null
     }
   }
   status.peer.setLayoutOrientation(JList.HORIZONTAL_WRAP)