X-Git-Url: http://source.jalview.org/gitweb/?p=jalview.git;a=blobdiff_plain;f=src%2Fjalview%2Futil%2FChannelProperties.java;fp=src%2Fjalview%2Futil%2FChannelProperties.java;h=109eaa5b6a2f1df863fbefe37f234df8b5ed8811;hp=ede528f5b8e168b22c852b91aa73588dda7b969e;hb=3ffda7877bae6500636fcccaf1a9eae8bff2f45c;hpb=02e5c6fb4edb3ae638e45cff1aad056682083c36 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