diff options
author | Jouni Koivuviita <jouni.koivuviita@itmill.com> | 2009-09-07 07:50:15 +0000 |
---|---|---|
committer | Jouni Koivuviita <jouni.koivuviita@itmill.com> | 2009-09-07 07:50:15 +0000 |
commit | d2a8d5a64d4f74af2f84400196e786b55704a685 (patch) | |
tree | fd821f681d7d828b9c332ba2d57afe62d54b9ccc /src/com | |
parent | b911e7b45f537498f016289fc722ce044fbb9b9f (diff) | |
download | vaadin-framework-d2a8d5a64d4f74af2f84400196e786b55704a685.tar.gz vaadin-framework-d2a8d5a64d4f74af2f84400196e786b55704a685.zip |
Fixed to more icons in Sampler to point to correct theme resource (regressiong after theme selector).
svn changeset:8680/svn branch:6.1
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/vaadin/demo/sampler/FeatureView.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/com/vaadin/demo/sampler/FeatureView.java b/src/com/vaadin/demo/sampler/FeatureView.java index 100c7b40a8..3672520065 100644 --- a/src/com/vaadin/demo/sampler/FeatureView.java +++ b/src/com/vaadin/demo/sampler/FeatureView.java @@ -222,9 +222,10 @@ public class FeatureView extends HorizontalLayout { ActiveLink al = new ActiveLink(f.getName(), new ExternalResource(getApplication().getURL() + "#" + path)); - al.setIcon(new ThemeResource( - (f instanceof FeatureSet ? "icons/category.gif" - : "icons/sample.png"))); + al + .setIcon(new ThemeResource( + (f instanceof FeatureSet ? "../sampler/icons/category.gif" + : "../sampler/icons/sample.png"))); al.addListener(new LinkActivatedListener() { public void linkActivated(LinkActivatedEvent event) { if (event.isLinkOpened()) { |