X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Futil%2FChannelProperties.java;h=109eaa5b6a2f1df863fbefe37f234df8b5ed8811;hb=b7d225fc8a17594a1ddacd775a819b9ffc70131b;hp=ede528f5b8e168b22c852b91aa73588dda7b969e;hpb=dcc68fa0a9fb37742db5a4352ff2be287cc7cae7;p=jalview.git diff --git a/src/jalview/util/ChannelProperties.java b/src/jalview/util/ChannelProperties.java index ede528f..109eaa5 100644 --- a/src/jalview/util/ChannelProperties.java +++ b/src/jalview/util/ChannelProperties.java @@ -55,6 +55,7 @@ public class ChannelProperties defaultProps.put("uod_banner.32", "/default_images/UoD_banner-32.png"); defaultProps.put("default_appbase", "https://www.jalview.org/getdown/release/1.8"); + defaultProps.put("preferences.filename", ".jalview_properties"); // load channel_properties Properties tryChannelProps = new Properties(); @@ -63,12 +64,11 @@ public class ChannelProperties if (channelPropsURL == null) { // complete failure of channel_properties, set all properties to defaults - System.err - .println("Failed to find '" + CHANNEL_PROPERTIES_FILENAME - + "' file at '" - + (channelPropsURL == null ? "null" - : channelPropsURL.toString()) - + "'. Using class defaultProps."); + System.err.println("Failed to find '" + CHANNEL_PROPERTIES_FILENAME + + "' file at '" + + (channelPropsURL == null ? "null" + : channelPropsURL.toString()) + + "'. Using class defaultProps."); tryChannelProps = defaultProps; } else