]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixed to more icons in Sampler to point to correct theme resource (regressiong after...
authorJouni Koivuviita <jouni.koivuviita@itmill.com>
Mon, 7 Sep 2009 07:50:15 +0000 (07:50 +0000)
committerJouni Koivuviita <jouni.koivuviita@itmill.com>
Mon, 7 Sep 2009 07:50:15 +0000 (07:50 +0000)
svn changeset:8680/svn branch:6.1

src/com/vaadin/demo/sampler/FeatureView.java

index 100c7b40a8f009fa55b6f359a2426b9f489f91a4..3672520065020c547391bdc60aa5184a17f4cef2 100644 (file)
@@ -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()) {