]> source.dussan.org Git - vaadin-framework.git/commitdiff
Minor adjustment to Sampler (fussy logo replaced w/ another temp-logo)
authorMarc Englund <marc.englund@itmill.com>
Mon, 29 Dec 2008 14:15:05 +0000 (14:15 +0000)
committerMarc Englund <marc.englund@itmill.com>
Mon, 29 Dec 2008 14:15:05 +0000 (14:15 +0000)
svn changeset:6362/svn branch:trunk

WebContent/ITMILL/themes/sampler/sampler/sampler.png [new file with mode: 0644]
src/com/itmill/toolkit/demo/sampler/SamplerApplication.java

diff --git a/WebContent/ITMILL/themes/sampler/sampler/sampler.png b/WebContent/ITMILL/themes/sampler/sampler/sampler.png
new file mode 100644 (file)
index 0000000..bfec8a4
Binary files /dev/null and b/WebContent/ITMILL/themes/sampler/sampler/sampler.png differ
index 39286bf9d763c74f69116929042fb4b9f898cabf..22403efd4378511f92f6d95c427bec051fc587c1 100644 (file)
@@ -327,7 +327,7 @@ public class SamplerApplication extends Application {
             });
             logo.setDescription("↶ Home");
             logo.setStyleName(Button.STYLE_LINK);
-            logo.setIcon(new ThemeResource("sampler/logo.png"));
+            logo.setIcon(new ThemeResource("sampler/sampler.png"));
             logo.setWidth("160px");
             return logo;
         }
@@ -393,8 +393,10 @@ public class SamplerApplication extends Application {
             ModeSwitch m = new ModeSwitch();
             m.addMode(currentList, "", "View as Icons", new ThemeResource(
                     "sampler/grid.gif"));
-            m.addMode(currentList, "", "View as Icons", new ThemeResource(
+            /*- no CoverFlow yet
+            m.addMode(coverFlow, "", "View as Icons", new ThemeResource(
                     "sampler/flow.gif"));
+             */
             m.addMode(new FeatureTable(), "", "View as List",
                     new ThemeResource("sampler/list.gif"));
             m.addListener(new ModeSwitch.ModeSwitchListener() {