[frogr] Hide progress bar dialog after uploading, not on IDLE



commit 9bb73daad4667daa75be56d1aae4f3d88b655961
Author: Mario Sanchez Prada <msanchez igalia com>
Date:   Thu Jan 20 19:50:28 2011 +0100

    Hide progress bar dialog after uploading, not on IDLE

 src/frogr-main-view.c        |    2 --
 src/frogr-picture-uploader.c |    4 ++--
 2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/frogr-main-view.c b/src/frogr-main-view.c
index a09f1a5..ac618c0 100644
--- a/src/frogr-main-view.c
+++ b/src/frogr-main-view.c
@@ -1274,8 +1274,6 @@ _update_ui (FrogrMainView *self)
       /* Update status bar from model's account description */
       account_description = frogr_main_view_model_get_account_description (priv->model);
       frogr_main_view_set_status_text (self, account_description);
-
-      gtk_widget_hide (priv->progress_dialog);
       break;
 
     default:
diff --git a/src/frogr-picture-uploader.c b/src/frogr-picture-uploader.c
index 099548c..e35dec4 100644
--- a/src/frogr-picture-uploader.c
+++ b/src/frogr-picture-uploader.c
@@ -115,8 +115,8 @@ _upload_next_picture (FrogrPictureUploader *self)
     }
   else
     {
-      /* Update status and progress bars */
-      _update_status_and_progress (self);
+      /* Hide progress bar dialog */
+      frogr_main_view_hide_progress (priv->mainview);
 
       /* Execute final callback */
       if (priv->pictures_uploaded_cb)



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