From e6a00c35b9bf2575292da98b6ec5e38ad27f3b21 Mon Sep 17 00:00:00 2001 From: Jouni Koivuviita Date: Mon, 5 Oct 2009 09:27:19 +0000 Subject: Fixes #3471: Notification "styles" (i.e. types) should work similarly to other component stylenames svn changeset:9073/svn branch:6.2 --- src/com/vaadin/terminal/gwt/client/ui/VNotification.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/com/vaadin/terminal/gwt/client/ui/VNotification.java b/src/com/vaadin/terminal/gwt/client/ui/VNotification.java index a7accae95d..e5c8be92e5 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VNotification.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VNotification.java @@ -112,6 +112,7 @@ public class VNotification extends VOverlay { if (style != null) { temporaryStyle = style; addStyleName(style); + addStyleDependentName(style); } super.show(); setPosition(position); @@ -124,6 +125,7 @@ public class VNotification extends VOverlay { cancelFade(); if (temporaryStyle != null) { removeStyleName(temporaryStyle); + removeStyleDependentName(temporaryStyle); temporaryStyle = null; } super.hide(); -- cgit v1.2.3