[frogr] Don't update the status bar with the account info when busy



commit 1d53774114123a863522e348aa72294b5424548d
Author: Mario Sanchez Prada <msanchez igalia com>
Date:   Fri Jan 21 17:43:51 2011 +0100

    Don't update the status bar with the account info when busy

 src/frogr-main-view.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/frogr-main-view.c b/src/frogr-main-view.c
index d9f1e41..694057e 100644
--- a/src/frogr-main-view.c
+++ b/src/frogr-main-view.c
@@ -1084,7 +1084,8 @@ _controller_active_account_changed (FrogrController *controller,
   description = _craft_account_description (mainview);
   frogr_main_view_model_set_account_description (priv->model, description);
 
-  frogr_main_view_set_status_text (mainview, description);
+  if (frogr_controller_get_state (priv->controller) != FROGR_STATE_BUSY)
+    frogr_main_view_set_status_text (mainview, description);
 
   g_debug ("Account details changed: %s", description);
   g_free (description);



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