diff options
author | Jouni Koivuviita <jouni.koivuviita@itmill.com> | 2009-10-05 09:22:26 +0000 |
---|---|---|
committer | Jouni Koivuviita <jouni.koivuviita@itmill.com> | 2009-10-05 09:22:26 +0000 |
commit | 0ce0f376420ffa1c92df5ae83f7da8cdb8f6a077 (patch) | |
tree | f7bd9cf400a68098e0034e3a2a6a6cdb19d6877f /src/com | |
parent | 838d237d55a10c588efbdb993c4a080401157d8b (diff) | |
download | vaadin-framework-0ce0f376420ffa1c92df5ae83f7da8cdb8f6a077.tar.gz vaadin-framework-0ce0f376420ffa1c92df5ae83f7da8cdb8f6a077.zip |
Fixes #3471: Notification "styles" (i.e. types) should work similarly to other component stylenames
svn changeset:9072/svn branch:6.1
Diffstat (limited to 'src/com')
-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();
|