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

Chris Lumens clumens at redhat.com
Thu Feb 7 15:11:28 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?

Glade does not appear to expose any way to edit the label that is the
child of a RadioButton, aside from specifying what the text is.  It's
pretty frustrating.

- Chris


More information about the anaconda-patches mailing list