[totem] main: Fix thumbnail updates only getting triggered once



commit 2150365a7f12646910bea3b6533d1ac7eac29b34
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Feb 28 18:20:41 2014 +0100

    main: Fix thumbnail updates only getting triggered once

 src/totem-grilo.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/totem-grilo.c b/src/totem-grilo.c
index c7dbd40..752ce09 100644
--- a/src/totem-grilo.c
+++ b/src/totem-grilo.c
@@ -463,6 +463,8 @@ update_search_thumbnails_idle (TotemGrilo *self)
        GtkTreeModel *view_model, *model;
        GtkIconView *icon_view;
 
+       self->priv->thumbnail_update_id = 0;
+
        icon_view = GTK_ICON_VIEW (gd_main_view_get_generic_view (GD_MAIN_VIEW (self->priv->browser)));
        if (!gtk_icon_view_get_visible_range (icon_view, &start_path, &end_path)) {
                return FALSE;


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