[libchamplain/libchamplain-0-4] Also report as loading when validating the cache



commit f13c43def716621b2705f76fdc32a8b2e67e67fa
Author: Pierre-Luc Beaudoin <pierre-luc pierlux com>
Date:   Fri Nov 6 09:50:12 2009 -0500

    Also report as loading when validating the cache

 champlain/champlain-view.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/champlain/champlain-view.c b/champlain/champlain-view.c
index e91be86..fff3d2b 100644
--- a/champlain/champlain-view.c
+++ b/champlain/champlain-view.c
@@ -2035,7 +2035,8 @@ view_update_state (ChamplainView *view)
       if (tile == NULL)
         continue;
 
-      if (champlain_tile_get_state (tile) == CHAMPLAIN_STATE_LOADING)
+      if (champlain_tile_get_state (tile) == CHAMPLAIN_STATE_LOADING ||
+          champlain_tile_get_state (tile) == CHAMPLAIN_STATE_VALIDATING_CACHE)
         new_state = CHAMPLAIN_STATE_LOADING;
     }
 



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