Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libview
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2010-05-11 11:43:52 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2010-05-11 11:43:52 (GMT)
commit00f74f90ff46e9f434e12b593ac1afcbb47443bf (patch)
treea899845f74bbd9c62e4626a75e00a89165866cc8 /libview
parentf63b2d77bef9ce122f38b8f4006c41b5e3e20295 (diff)
[libview] Hide loading window when document is loaded
Diffstat (limited to 'libview')
-rw-r--r--libview/ev-view.c2
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));
}