[PATCH 1/3] If you set_markup, the label forgets set_use_underline from glade.

Chris Lumens clumens at redhat.com
Wed Feb 20 12:33:12 UTC 2013


---
 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()
-- 
1.8.1.2



More information about the anaconda-patches mailing list