[totem] main: Fix missing icons for bookmarked media



commit 8f3658ec19c2bdf27c2a069a05ffa56e2009a925
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Feb 14 17:17:33 2014 +0100

    main: Fix missing icons for bookmarked media

 src/icon-helpers.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/icon-helpers.c b/src/icon-helpers.c
index 758a49b..059813c 100644
--- a/src/icon-helpers.c
+++ b/src/icon-helpers.c
@@ -234,9 +234,9 @@ totem_grilo_get_icon (GrlMedia *media,
 {
        *thumbnailing = FALSE;
 
-       if (GRL_IS_MEDIA_BOX (media))
+       if (GRL_IS_MEDIA_BOX (media)) {
                return g_object_ref (icons[ICON_BOX]);
-       else if (GRL_IS_MEDIA_VIDEO (media)) {
+       } else {
                if (grl_media_get_thumbnail (media)) {
                        *thumbnailing = TRUE;
                        return g_object_ref (icons[ICON_VIDEO_THUMBNAILING]);


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