[kune-commits] r837 - in trunk/src/main/java/org/ourproject/kune:
platf/client/services workspace/client/ui/newtmp/sitebar/siteoptions
workspace/client/ui/newtmp/sitebar/siteusermenu
vjrj
vjrj at ourproject.org
Sat Aug 9 01:52:41 CEST 2008
Author: vjrj
Date: 2008-08-09 01:52:38 +0200 (Sat, 09 Aug 2008)
New Revision: 837
Modified:
trunk/src/main/java/org/ourproject/kune/platf/client/services/Images.java
trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/siteoptions/SiteOptionsPanel.java
trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/siteusermenu/SiteUserMenuPanel.java
Log:
Complete - task 23: SiteBar Menus (options, user menu)
Modified: trunk/src/main/java/org/ourproject/kune/platf/client/services/Images.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/services/Images.java 2008-08-08 23:16:06 UTC (rev 836)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/services/Images.java 2008-08-08 23:52:38 UTC (rev 837)
@@ -232,7 +232,7 @@
@Resource("org/ourproject/kune/platf/public/images/button-help-light.png")
AbstractImagePrototype buttonHelpLight();
- @Resource("org/ourproject/kune/platf/public/images/button-sitebar-arrow-down.gif")
+ @Resource("org/ourproject/kune/platf/public/images/arrowdown.gif")
AbstractImagePrototype buttonSitebarArrowDown();
@Resource("org/ourproject/kune/platf/public/images/by80x15.png")
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/siteoptions/SiteOptionsPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/siteoptions/SiteOptionsPanel.java 2008-08-08 23:16:06 UTC (rev 836)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/siteoptions/SiteOptionsPanel.java 2008-08-08 23:52:38 UTC (rev 837)
@@ -21,8 +21,8 @@
final I18nUITranslationService i18n, final Provider<I18nTranslator> translatorProvider) {
final PushButton optionsButton = new PushButton("");
// optionsButton.setText(i18n.t("Options"));
- optionsButton.setHTML("<div style=\"text-align: center;\">" + i18n.t("Options")
- + "<img style=\"vertical-align: middle;\" src=\"images/arrowdown.png\" /></div>");
+ optionsButton.setHTML(i18n.t("Options")
+ + "<img style=\"vertical-align: middle;\" src=\"images/arrowdown.png\" />");
optionsButton.setStyleName("k-sitebar-labellink");
ws.getSiteBar().addSeparator();
ws.getSiteBar().add(optionsButton);
Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/siteusermenu/SiteUserMenuPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/siteusermenu/SiteUserMenuPanel.java 2008-08-08 23:16:06 UTC (rev 836)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/ui/newtmp/sitebar/siteusermenu/SiteUserMenuPanel.java 2008-08-08 23:52:38 UTC (rev 837)
@@ -51,8 +51,7 @@
}
public void setLoggedUserName(final String name) {
- loggedUserMenu.setHTML("<div style=\"text-align: center;\">" + name
- + "<img style=\"vertical-align: middle;\" src=\"images/arrowdown.png\" /></div>");
+ loggedUserMenu.setHTML(name + "<img style=\"vertical-align: middle;\" src=\"images/arrowdown.png\" />");
}
public void setParticipation(final MenuItemCollection<GroupDTO> participateInGroups) {
More information about the kune-commits
mailing list