Use general_no_thumbnail instead of imageviewer_no_pic if the movie has no poster
authorPhilipp Zabel <philipp.zabel@gmail.com>
Wed, 4 Aug 2010 22:24:37 +0000 (00:24 +0200)
committerPhilipp Zabel <philipp.zabel@gmail.com>
Thu, 5 Aug 2010 19:05:00 +0000 (21:05 +0200)
imageviewer_no_pic (the broken image) can be produced by the poster factory
if (down)loading the poster failed.

src/movie-window.vala

index fefa968..bb92083 100644 (file)
@@ -52,9 +52,9 @@ public class MovieWindow : StackableWindow {
                        } else {
                                // FIXME
                                if (no_poster == null) try {
-                                       no_poster = new Gdk.Pixbuf.from_file ("/usr/share/icons/hicolor/64x64/hildon/imageviewer_no_pic.png");
+                                       no_poster = new Gdk.Pixbuf.from_file ("/usr/share/icons/hicolor/64x64/hildon/general_no_thumbnail.png");
                                } catch (Error e) {
-                                       critical ("Missing imageviewer_no_pic icon: %s\n", e.message);
+                                       critical ("Missing general_no_thumbnail icon: %s\n", e.message);
                                }
                                image.pixbuf = no_poster;
                        }