# HG changeset patch # User Ingo Weinzierl # Date 1301391957 0 # Node ID 131e3f23a74edddb650ed1d0ee14a1093b47f19d # Parent 4d7c6a63602bcb2d7fb4fafa2921648588a09c8c Modified the URL of the 'back button' image. flys-client/trunk@1601 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 4d7c6a63602b -r 131e3f23a74e flys-client/ChangeLog --- a/flys-client/ChangeLog Tue Mar 29 09:12:14 2011 +0000 +++ b/flys-client/ChangeLog Tue Mar 29 09:45:57 2011 +0000 @@ -1,3 +1,15 @@ +2011-03-29 Ingo Weinzierl + + * src/main/java/de/intevation/flys/client/client/FLYSMessages_en.properties, + src/main/java/de/intevation/flys/client/client/FLYSMessages_de.properties, + src/main/java/de/intevation/flys/client/client/FLYSMessages.java: + Modified the string that points to the 'back button' image. + + * src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java: + Modified the URL that points to the 'back button' image. Now, the + base URL is taken into account as well. The button will be shown + everywhere now (in every installation)! + 2011-03-29 Raimund Renkert * src/main/java/de/intevation/flys/client/client/ui/MainMenu.java: Fixed diff -r 4d7c6a63602b -r 131e3f23a74e flys-client/src/main/java/de/intevation/flys/client/client/FLYSMessages.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSMessages.java Tue Mar 29 09:12:14 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSMessages.java Tue Mar 29 09:45:57 2011 +0000 @@ -149,7 +149,7 @@ @DefaultMessage("Next") String buttonNext(); - @DefaultMessage("/images/back.png") + @DefaultMessage("images/back.png") String imageBack(); } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : diff -r 4d7c6a63602b -r 131e3f23a74e flys-client/src/main/java/de/intevation/flys/client/client/FLYSMessages_de.properties --- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSMessages_de.properties Tue Mar 29 09:12:14 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSMessages_de.properties Tue Mar 29 09:45:57 2011 +0000 @@ -47,4 +47,4 @@ footerImressum = Impressum buttonNext = Weiter -imageBack = /images/back_de.png +imageBack = images/back_de.png diff -r 4d7c6a63602b -r 131e3f23a74e flys-client/src/main/java/de/intevation/flys/client/client/FLYSMessages_en.properties --- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSMessages_en.properties Tue Mar 29 09:12:14 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSMessages_en.properties Tue Mar 29 09:45:57 2011 +0000 @@ -44,4 +44,4 @@ unitQStep = m³/s buttonNext = Next -imageBack = /images/back_en.png +imageBack = images/back_en.png diff -r 4d7c6a63602b -r 131e3f23a74e flys-client/src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java Tue Mar 29 09:12:14 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java Tue Mar 29 09:45:57 2011 +0000 @@ -140,7 +140,8 @@ * @return the 'back' button. */ protected Canvas getBackButton(final String targetState) { - Img back = new Img(MSG.imageBack(), 16, 16); + String url = GWT.getHostPageBaseURL() + MSG.imageBack(); + Img back = new Img(url, 16, 16); back.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) {