From: Jose Dapena Paz Date: Wed, 1 Aug 2007 12:41:30 +0000 (+0000) Subject: * src/maemo/modest-progress-bar-widget.c: X-Git-Tag: git_migration_finished~2670 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=91e497e185314e54ddedaa9034175b74a0537298;ds=sidebyside * src/maemo/modest-progress-bar-widget.c: * 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 --- diff --git a/src/maemo/modest-progress-bar-widget.c b/src/maemo/modest-progress-bar-widget.c index dc0ef64..638ab31 100644 --- a/src/maemo/modest-progress-bar-widget.c +++ b/src/maemo/modest-progress-bar-widget.c @@ -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) {