prefer isabelle application icon;
authorwenzelm
Sun, 01 Dec 2013 13:54:41 +0100
changeset 54660 d9c88171b393
parent 54659 b636dab842f3
child 54661 6ad5242deaa7
prefer isabelle application icon;
src/Tools/jEdit/lib/Tools/jedit
src/Tools/jEdit/src/jEdit.props
--- a/src/Tools/jEdit/lib/Tools/jedit	Sun Dec 01 13:03:15 2013 +0100
+++ b/src/Tools/jEdit/lib/Tools/jedit	Sun Dec 01 13:54:41 2013 +0100
@@ -280,6 +280,16 @@
       print qq,<MODE NAME="isabelle-root" FILE="isabelle-root.xml" FILE_NAME_GLOB="ROOT"/>\n\n,; }
     print; }' dist/modes/catalog
 
+  cd dist
+  isabelle_jdk jar xf jedit.jar
+  cp "$ISABELLE_HOME/lib/logo/isabelle-32.gif" \
+    "org/gjt/sp/jedit/icons/themes/classic/32x32/apps/isabelle.gif" || failed
+  cp "$ISABELLE_HOME/lib/logo/isabelle-32.gif" \
+    "org/gjt/sp/jedit/icons/themes/tango/32x32/apps/isabelle.gif" || failed
+  isabelle_jdk jar cf jedit.jar org || failed
+  rm -rf org
+  cd ..
+
   cp -p -R -f "${JEDIT_JARS[@]}" dist/jars/. || failed
   (
     #workaround for scalac 2.10.2
--- a/src/Tools/jEdit/src/jEdit.props	Sun Dec 01 13:03:15 2013 +0100
+++ b/src/Tools/jEdit/src/jEdit.props	Sun Dec 01 13:54:41 2013 +0100
@@ -223,6 +223,7 @@
 largefilemode=full
 line-end.shortcut=END
 line-home.shortcut=HOME
+logo.icon.medium=32x32/apps/isabelle.gif
 lookAndFeel=javax.swing.plaf.nimbus.NimbusLookAndFeel
 match-bracket.shortcut2=C+9
 next-bracket.shortcut2=C+e C+9