[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 1/5] Show user-specified disk size.



---
 widgets/src/DiskOverview.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/widgets/src/DiskOverview.c b/widgets/src/DiskOverview.c
index 85ce348..474bea4 100644
--- a/widgets/src/DiskOverview.c
+++ b/widgets/src/DiskOverview.c
@@ -286,7 +286,7 @@ static void anaconda_disk_overview_set_property(GObject *object, guint prop_id,
             break;
 
         case PROP_CAPACITY: {
-            char *markup = g_markup_printf_escaped("<span size='large'>%s</span>", DEFAULT_CAPACITY);
+            char *markup = g_markup_printf_escaped("<span size='large'>%s</span>", g_value_get_string(value));
             gtk_label_set_markup(GTK_LABEL(priv->capacity_label), markup);
             g_free(markup);
             break;
-- 
1.7.8


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]