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

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



> 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;

Ah, good catch.

- Chris


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