[evince] [libview] Hide loading window when document is loaded



commit 00f74f90ff46e9f434e12b593ac1afcbb47443bf
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Tue May 11 13:43:52 2010 +0200

    [libview] Hide loading window when document is loaded

 libview/ev-view.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 55c31ab..7cc0f79 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -4579,6 +4579,8 @@ void
 ev_view_set_loading (EvView 	  *view,
 		     gboolean      loading)
 {
+	if (view->loading && !loading)
+		hide_loading_window (view);
 	view->loading = loading;
 	gtk_widget_queue_draw (GTK_WIDGET (view));
 }



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