src/Tools/jEdit/patches/title
author wenzelm
Fri May 04 21:46:58 2018 +0200 (13 months ago ago)
changeset 68081 3d8f34715013
child 70019 4419d4d675c3
permissions -rw-r--r--
no censorship of view title;
wenzelm@68081
     1
diff -ru 5.5.0/jEdit/org/gjt/sp/jedit/View.java 5.5.0/jEdit-patched/org/gjt/sp/jedit/View.java
wenzelm@68081
     2
--- 5.5.0/jEdit/org/gjt/sp/jedit/View.java	2018-04-09 01:57:31.000000000 +0200
wenzelm@68081
     3
+++ 5.5.0/jEdit-patched/org/gjt/sp/jedit/View.java	2018-05-04 21:18:11.891194939 +0200
wenzelm@68081
     4
@@ -1233,15 +1233,10 @@
wenzelm@68081
     5
 
wenzelm@68081
     6
 		StringBuilder title = new StringBuilder();
wenzelm@68081
     7
 
wenzelm@68081
     8
-		/* On Mac OS X, apps are not supposed to show their name in the
wenzelm@68081
     9
-		title bar. */
wenzelm@68081
    10
-		if(!OperatingSystem.isMacOS())
wenzelm@68081
    11
-		{
wenzelm@68081
    12
-			if (userTitle != null)
wenzelm@68081
    13
-				title.append(userTitle);
wenzelm@68081
    14
-			else
wenzelm@68081
    15
-				title.append(jEdit.getProperty("view.title"));
wenzelm@68081
    16
-		}
wenzelm@68081
    17
+		if (userTitle != null)
wenzelm@68081
    18
+			title.append(userTitle);
wenzelm@68081
    19
+		else
wenzelm@68081
    20
+			title.append(jEdit.getProperty("view.title"));
wenzelm@68081
    21
 
wenzelm@68081
    22
 		for(int i = 0; i < buffers.size(); i++)
wenzelm@68081
    23
 		{