From d2a8d5a64d4f74af2f84400196e786b55704a685 Mon Sep 17 00:00:00 2001 From: Jouni Koivuviita Date: Mon, 7 Sep 2009 07:50:15 +0000 Subject: [PATCH] Fixed to more icons in Sampler to point to correct theme resource (regressiong after theme selector). svn changeset:8680/svn branch:6.1 --- src/com/vaadin/demo/sampler/FeatureView.java | 7 ++++--- 1 file 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()) { -- 2.39.5