diff options
author | Jouni Koivuviita <jouni.koivuviita@itmill.com> | 2009-10-05 09:27:19 +0000 |
---|---|---|
committer | Jouni Koivuviita <jouni.koivuviita@itmill.com> | 2009-10-05 09:27:19 +0000 |
commit | e6a00c35b9bf2575292da98b6ec5e38ad27f3b21 (patch) | |
tree | fd4dbcadd8384cde795fc6871565e3a6d91e9a3e /src | |
parent | 9e0a7ff98936a0b2abed0fa17c33157d9d1312b2 (diff) | |
download | vaadin-framework-e6a00c35b9bf2575292da98b6ec5e38ad27f3b21.tar.gz vaadin-framework-e6a00c35b9bf2575292da98b6ec5e38ad27f3b21.zip |
Fixes #3471: Notification "styles" (i.e. types) should work similarly to other component stylenames
svn changeset:9073/svn branch:6.2
Diffstat (limited to 'src')
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/ui/VNotification.java | 2 |
1 files changed, 2 insertions, 0 deletions
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();
|