[frogr] Don't pulse progress retrieving tags if autocompletion is disabled



commit 1d92d043974eb00c3856ae660df3b16aa7f26f8e
Author: Mario Sanchez Prada <msanchez igalia com>
Date:   Sat May 7 16:18:41 2011 +0200

    Don't pulse progress retrieving tags if autocompletion is disabled

 src/frogr-controller.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/frogr-controller.c b/src/frogr-controller.c
index 8e970a5..07c817d 100644
--- a/src/frogr-controller.c
+++ b/src/frogr-controller.c
@@ -1444,7 +1444,7 @@ _show_details_dialog_on_idle (GSList *pictures)
   mainview = priv->mainview;
 
   /* Keep the source while internally busy */
-  if (priv->fetching_tags)
+  if (priv->fetching_tags && frogr_config_get_tags_autocompletion (priv->config))
     {
       frogr_main_view_pulse_progress (mainview);
       return TRUE;
@@ -1476,7 +1476,7 @@ _show_add_tags_dialog_on_idle (GSList *pictures)
   mainview = priv->mainview;
 
   /* Keep the source while internally busy */
-  if (priv->fetching_tags)
+  if (priv->fetching_tags && frogr_config_get_tags_autocompletion (priv->config))
     {
       frogr_main_view_pulse_progress (mainview);
       return TRUE;



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