From: Jouni Koivuviita Date: Mon, 7 Sep 2009 07:50:15 +0000 (+0000) Subject: Fixed to more icons in Sampler to point to correct theme resource (regressiong after... X-Git-Tag: 6.7.0.beta1~2511 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d2a8d5a64d4f74af2f84400196e786b55704a685;p=vaadin-framework.git Fixed to more icons in Sampler to point to correct theme resource (regressiong after theme selector). svn changeset:8680/svn branch:6.1 --- 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()) {