* src/maemo/modest-progress-bar-widget.c:
authorJose Dapena Paz <jdapena@igalia.com>
Wed, 1 Aug 2007 12:41:30 +0000 (12:41 +0000)
committerJose Dapena Paz <jdapena@igalia.com>
Wed, 1 Aug 2007 12:41:30 +0000 (12:41 +0000)
        * Now we show the undetermined string for receiving and sending
          when we're getting only one message. This should fit the
          optional ammendment in UI specs (fixes NB#56182).

pmo-trunk-r2887

src/maemo/modest-progress-bar-widget.c

index dc0ef64..638ab31 100644 (file)
@@ -374,7 +374,7 @@ on_progress_changed (ModestMailOperation  *mail_op,
        if (priv->current == mail_op) {
                gchar *msg = NULL;
                
-               determined = (state->done > 0 && state->total > 0) && 
+               determined = (state->done > 0 && state->total > 1) && 
                        !(state->done == 1 && state->total == 100);
 
                switch (state->op_type) {