[gnome-disk-utility/wip/mdraid] Also show raid state when it's not running
- From: David Zeuthen <davidz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-disk-utility/wip/mdraid] Also show raid state when it's not running
- Date: Wed, 19 Sep 2012 17:23:06 +0000 (UTC)
commit 321bab94981d676d3e06cb904f737c1fbd4e5c4f
Author: David Zeuthen <zeuthen gmail com>
Date: Wed Sep 19 13:22:40 2012 -0400
Also show raid state when it's not running
This was broken in the last commit. Fix it.
Signed-off-by: David Zeuthen <zeuthen gmail com>
src/disks/gduwindow.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/disks/gduwindow.c b/src/disks/gduwindow.c
index 09547b5..a79172f 100644
--- a/src/disks/gduwindow.c
+++ b/src/disks/gduwindow.c
@@ -2082,17 +2082,17 @@ update_device_page_for_mdraid (GduWindow *window,
if (udisks_mdraid_get_can_start (mdraid))
{
/* Translators: Shown in the 'State' field for MD-RAID when not running and can be started */
- s = g_strdup (C_("mdraid-state", "Not running"));
+ raid_state_upper = g_strdup (C_("mdraid-state", "Not running"));
}
else if (udisks_mdraid_get_can_start_degraded (mdraid))
{
/* Translators: Shown in the 'State' field for MD-RAID when not running and can only be started degraded */
- s = g_strdup (C_("mdraid-state", "Not running â Can only start degraded"));
+ raid_state_upper = g_strdup (C_("mdraid-state", "Not running â Can only start degraded"));
}
else
{
/* Translators: Shown in the 'State' field for MD-RAID when not running */
- s = g_strdup (C_("mdraid-state", "Not running â Not enough disks to start"));
+ raid_state_upper = g_strdup (C_("mdraid-state", "Not running â Not enough disks to start"));
}
}
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]