[PATCH 1/2] Rework all the dialogs after you click Done on the storage spoke (#903501).

Vratislav Podzimek vpodzime at redhat.com
Thu Feb 7 10:18:57 UTC 2013


On Wed, 2013-02-06 at 14:06 -0500, Chris Lumens wrote:
> -    def _set_free_space_labels(self, disks_size, disk_free, fs_free):
> -        disks_size_text = size_str(disks_size)
> -        self.disks_size_label.set_text(disks_size_text)
> +        label = self.builder.get_object("options1_autopart_radio").get_children()[0]
> +        label.set_markup(_("<span font-desc=\"Cantarell 11\">A_utomatically "
> +                           "configure my %(productName)s installation to the "
> +                           "disk(s) I selected and return me to the main "
> +                           "menu.</span>") % {"productName": productName})
> +        label.set_line_wrap(True)
> +        label.set_use_underline(True)
Do these attributes need to be set in the code or could they go to
the .glade file?

> +
> +        label = self.builder.get_object("options1_reclaim_radio").get_children()[0]
> +        label.set_markup(_("<span font-desc=\"Cantarell 11\">I want more space. "
> +                           "_Guide me through shrinking and/or removing partitions "
> +                           "so I can have more space for %(productName)s.</span>") % {"productName": productName})
> +        label.set_line_wrap(True)
> +        label.set_use_underline(True)
> +
> +        label = self.builder.get_object("options1_custom_radio").get_children()[0]
> +        label.set_markup(_("<span font-desc=\"Cantarell 11\">I want to review/_modify "
> +                           "my disk partitions before continuing.</span>"))
> +        label.set_line_wrap(True)
> +        label.set_use_underline(True)
Same question.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list