[frogr] Make the progress bar show the right n / m numbers.



commit 2cf20dc2a9e1deb0c07037872f785ce39cc5d5ff
Author: Mario Sanchez Prada <msanchez igalia com>
Date:   Thu Jan 20 18:14:58 2011 +0100

    Make the progress bar show the right n / m numbers.
    
    Start in 1, instead of 0.

 src/frogr-picture-uploader.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/frogr-picture-uploader.c b/src/frogr-picture-uploader.c
index 5a22c65..099548c 100644
--- a/src/frogr-picture-uploader.c
+++ b/src/frogr-picture-uploader.c
@@ -84,7 +84,7 @@ _update_status_and_progress (FrogrPictureUploader *self)
       /* Update progress */
       status_text = g_strdup_printf (_("Uploading '%s'â?¦"), title);
       progress_bar_text = g_strdup_printf ("%d / %d",
-                                           priv->index,
+                                           priv->index + 1,
                                            priv->n_pictures);
       g_free (title);
     }



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