[PATCH 1/3] If you set_markup, the label forgets set_use_underline from glade.
Vratislav Podzimek
vpodzime at redhat.com
Wed Feb 20 12:46:26 UTC 2013
On Wed, 2013-02-20 at 07:33 -0500, Chris Lumens wrote:
> ---
> pyanaconda/ui/gui/spokes/custom.py | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
> index dea3dce..6449d16 100644
> --- a/pyanaconda/ui/gui/spokes/custom.py
> +++ b/pyanaconda/ui/gui/spokes/custom.py
> @@ -600,6 +600,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
>
> summaryLabel.set_use_markup(True)
> summaryLabel.set_markup("<span foreground='blue'><u>%s</u></span>" % summary)
> + summaryLabel.set_use_underline(True)
>
> def _reset_storage(self):
> self.__storage = self.storage.copy()
ACK to all of these.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list