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

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

 



> 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux