[totem] grilo: Better icons for some Blu-ray discs



commit 1e8efa854dc94f91caa0fd3d8665a6f9e53b5d14
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Jan 21 19:10:30 2014 +0100

    grilo: Better icons for some Blu-ray discs
    
    For optical discs, we prefer the cover provided by Blu-ray discs
    to the generic disc icon.

 src/plugins/grilo/icon-helpers.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/grilo/icon-helpers.c b/src/plugins/grilo/icon-helpers.c
index d8d7270..0f57678 100644
--- a/src/plugins/grilo/icon-helpers.c
+++ b/src/plugins/grilo/icon-helpers.c
@@ -237,12 +237,12 @@ totem_grilo_get_icon (GrlMedia *media,
        if (GRL_IS_MEDIA_BOX (media))
                return g_object_ref (icons[ICON_BOX]);
        else if (GRL_IS_MEDIA_VIDEO (media)) {
-               if (g_str_equal (grl_media_get_source (media), "grl-optical-media"))
-                       return g_object_ref (icons[ICON_OPTICAL]);
                if (grl_media_get_thumbnail (media)) {
                        *thumbnailing = TRUE;
                        return g_object_ref (icons[ICON_VIDEO_THUMBNAILING]);
                } else {
+                       if (g_str_equal (grl_media_get_source (media), "grl-optical-media"))
+                               return g_object_ref (icons[ICON_OPTICAL]);
                        return g_object_ref (icons[ICON_VIDEO]);
                }
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]