[tracker/tracker-0.10] tracker-control: Don't represent 0% with a ✓ (i.e. done)
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] tracker-control: Don't represent 0% with a ✓ (i.e. done)
- Date: Thu, 16 Jun 2011 16:10:14 +0000 (UTC)
commit ed2537e867257147155b96fc098fa485375d2fcb
Author: Martyn Russell <martyn lanedo com>
Date: Mon Jun 13 15:37:57 2011 +0100
tracker-control: Don't represent 0% with a â (i.e. done)
src/tracker-control/tracker-control-status.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-control/tracker-control-status.c b/src/tracker-control/tracker-control-status.c
index 7f407e3..e88ee0e 100644
--- a/src/tracker-control/tracker-control-status.c
+++ b/src/tracker-control/tracker-control-status.c
@@ -172,7 +172,7 @@ miner_print_state (TrackerMinerManager *manager,
if (!is_running) {
progress_str = g_strdup_printf ("â ");
- } else if (progress > 0.0 && progress < 1.0) {
+ } else if (progress >= 0.0 && progress < 1.0) {
progress_str = g_strdup_printf ("%-3.0f%%", progress * 100);
} else {
progress_str = g_strdup_printf ("â ");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]