From: Matti Tahvonen Date: Tue, 1 Dec 2009 07:52:29 +0000 (+0000) Subject: VMenubar styles now prefixed (only) X-Git-Tag: 6.7.0.beta1~2217 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9a19625333437cfc991265af5e78a7ee7242088e;p=vaadin-framework.git VMenubar styles now prefixed (only) svn changeset:10111/svn branch:6.2 --- diff --git a/src/com/vaadin/terminal/gwt/client/ui/VMenuBar.java b/src/com/vaadin/terminal/gwt/client/ui/VMenuBar.java index 1424d58442..961564d9d8 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VMenuBar.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VMenuBar.java @@ -207,7 +207,7 @@ public class VMenuBar extends Widget implements Paintable, currentItem.setEnabled(!item.hasAttribute("disabled")); if (item.hasAttribute("style")) { String itemStyle = item.getStringAttribute("style"); - currentItem.addStyleName(itemStyle); + currentItem.addStyleDependentName(itemStyle); } if (item.getChildCount() > 0) {