changeset 3098:1d79c85bd8c2

Line labels are not visible until the option is set by the user (or configured in a theme). flys-artifacts/trunk@4697 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 19 Jun 2012 09:57:41 +0000
parents c041944a7f74
children ef0dd585b5e0
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/utils/ThemeUtil.java
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Tue Jun 19 09:45:47 2012 +0000
+++ b/flys-artifacts/ChangeLog	Tue Jun 19 09:57:41 2012 +0000
@@ -1,3 +1,8 @@
+2012-06-19  Ingo Weinzierl <ingo@intevation.de>
+
+	* src/main/java/de/intevation/flys/utils/ThemeUtil.java: Changed the
+	  default behavior: line labels are not visible if no config option is set!
+
 2012-06-19	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
 
 	* doc/conf/conf.xml: Load config of rest server and floodmap over
--- a/flys-artifacts/src/main/java/de/intevation/flys/utils/ThemeUtil.java	Tue Jun 19 09:45:47 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/utils/ThemeUtil.java	Tue Jun 19 09:57:41 2012 +0000
@@ -318,7 +318,7 @@
      */
     public static boolean parseShowLineLabel(Document theme) {
         String show = XMLUtils.xpathString(theme, XPATH_SHOW_LINE_LABEL, null);
-        return parseBoolean(show, true);
+        return parseBoolean(show, false);
     }
 
     /**

http://dive4elements.wald.intevation.org