# HG changeset patch # User Raimund Renkert # Date 1301325831 0 # Node ID 4c5fa2b0086a44f921c84069084c538575b92c79 # Parent 1d0fb625248d78385fe579c720ae323391a66a46 The project list button toggles the project list now. flys-client/trunk@1592 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 1d0fb625248d -r 4c5fa2b0086a flys-client/ChangeLog --- a/flys-client/ChangeLog Mon Mar 28 13:24:13 2011 +0000 +++ b/flys-client/ChangeLog Mon Mar 28 15:23:51 2011 +0000 @@ -1,3 +1,8 @@ +2011-03-28 Raimund Renkert + + * src/main/java/de/intevation/flys/client/client/ui/MainMenu.java: The project + list button toggles the project list now. + 2011-03-28 Raimund Renkert * src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java: diff -r 1d0fb625248d -r 4c5fa2b0086a flys-client/src/main/java/de/intevation/flys/client/client/ui/MainMenu.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/MainMenu.java Mon Mar 28 13:24:13 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/MainMenu.java Mon Mar 28 15:23:51 2011 +0000 @@ -68,7 +68,10 @@ projectList.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { GWT.log("Clicked 'Open ProjectList' button."); - getFlys().getProjectList().show(); + if (getFlys().getProjectList().isVisible()) + getFlys().getProjectList().hide(); + else + getFlys().getProjectList().show(); } });