src/Tools/jEdit/patches/favorites
changeset 69779 a2218981a5d6
child 69838 4419d4d675c3
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/Tools/jEdit/patches/favorites	Thu Jan 31 22:02:50 2019 +0100
     1.3 @@ -0,0 +1,13 @@
     1.4 +diff -ru 5.5.0/jEdit/org/gjt/sp/jedit/io/FavoritesVFS.java 5.5.0/jEdit-patched/org/gjt/sp/jedit/io/FavoritesVFS.java
     1.5 +--- 5.5.0/jEdit/org/gjt/sp/jedit/io/FavoritesVFS.java	2018-04-09 01:57:13.000000000 +0200
     1.6 ++++ 5.5.0/jEdit-patched/org/gjt/sp/jedit/io/FavoritesVFS.java	2019-01-31 21:48:47.418367799 +0100
     1.7 +@@ -70,7 +70,8 @@
     1.8 + 	public VFSFile[] _listFiles(Object session, String url,
     1.9 + 		Component comp)
    1.10 + 	{
    1.11 +-		return getFavorites();
    1.12 ++		if (url.equals(PROTOCOL + ':')) return getFavorites();
    1.13 ++		else return null;
    1.14 + 	} //}}}
    1.15 + 
    1.16 + 	//{{{ _getFile() method