[gnome-photos] preview-view: Queue a draw after setting the node



commit 43de60b875fc4b150c23a6c06e617459aa5b6239
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri Aug 2 16:21:40 2013 +0200

    preview-view: Queue a draw after setting the node
    
    Otherwise if you are navigating through the items in the preview, then
    the new nodes are not properly drawn.
    
    Fixes: https://bugzilla.gnome.org/696794

 src/photos-preview-view.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-preview-view.c b/src/photos-preview-view.c
index 205b944..df9ce94 100644
--- a/src/photos-preview-view.c
+++ b/src/photos-preview-view.c
@@ -267,6 +267,7 @@ photos_preview_view_set_node (PhotosPreviewView *self, GeglNode *node)
 
   /* Steals the reference to the GeglNode. */
   gegl_gtk_view_set_node (GEGL_GTK_VIEW (priv->view), g_object_ref (priv->node));
+  gtk_widget_queue_draw (priv->view);
 
   photos_preview_nav_buttons_show (priv->nav_buttons);
 }


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