[gnome-disk-utility] Improve checking whether a sync op is underway
- From: David Zeuthen <davidz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-disk-utility] Improve checking whether a sync op is underway
- Date: Fri, 21 Dec 2012 17:37:44 +0000 (UTC)
commit 2b78757f099b2c7073274d5361ad8b9638da26c4
Author: David Zeuthen <zeuthen gmail com>
Date: Fri Dec 21 12:37:19 2012 -0500
Improve checking whether a sync op is underway
Signed-off-by: David Zeuthen <zeuthen gmail com>
src/disks/gduwindow.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/disks/gduwindow.c b/src/disks/gduwindow.c
index ac44e22..9c44475 100644
--- a/src/disks/gduwindow.c
+++ b/src/disks/gduwindow.c
@@ -2587,7 +2587,7 @@ update_device_page_for_mdraid (GduWindow *window,
g_free (s);
}
- if (sync_completed == 0.0)
+ if (sync_completed == 0.0 && sync_rate == 0 && sync_remaining_time == 0)
{
if (raid_state_extra != NULL)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]