]> source.dussan.org Git - vaadin-framework.git/commitdiff
VMenubar styles now prefixed (only)
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 1 Dec 2009 07:52:29 +0000 (07:52 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 1 Dec 2009 07:52:29 +0000 (07:52 +0000)
svn changeset:10111/svn branch:6.2

src/com/vaadin/terminal/gwt/client/ui/VMenuBar.java

index 1424d5844241ef1b3a4a084a57e459d40adf20a0..961564d9d8c9397b4282545324c7e37e5afe4352 100644 (file)
@@ -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) {