[tracker] 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-control: Don't represent 0% with a ✓ (i.e. done)
- Date: Mon, 13 Jun 2011 15:17:16 +0000 (UTC)
commit 7ef19c4f02bce426fd2ef291b3aac398c1c24630
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 757f85e..7891473 100644
--- a/src/tracker-control/tracker-control-status.c
+++ b/src/tracker-control/tracker-control-status.c
@@ -178,7 +178,7 @@ miner_print_state (TrackerMinerManager *manager,
gchar *progress_str = NULL;
gchar *remaining_time_str = NULL;
- if (progress > 0.0 && progress < 1.0) {
+ if (progress >= 0.0 && progress < 1.0) {
progress_str = g_strdup_printf ("%3u%%", (guint)(progress * 100));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]