[PATCH 3/5] Allow markup in the label/message of DetailedErrorDialog.

David Lehman dlehman at redhat.com
Tue Jul 7 22:32:57 UTC 2015


(cherry picked from commit 9e70bbfe490a2701c734032a1eef2daad3f42a07)

Related: rhbz#1236995
Related: rhbz#1198367
---
 pyanaconda/ui/gui/spokes/lib/detailederror.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/ui/gui/spokes/lib/detailederror.py b/pyanaconda/ui/gui/spokes/lib/detailederror.py
index f8082f4..c0360e8 100644
--- a/pyanaconda/ui/gui/spokes/lib/detailederror.py
+++ b/pyanaconda/ui/gui/spokes/lib/detailederror.py
@@ -65,7 +65,7 @@ class DetailedErrorDialog(GUIObject):
         widget.grab_default()
 
         if label:
-            self.builder.get_object("detailedLabel").set_text(label)
+            self.builder.get_object("detailedLabel").set_markup(label)
 
     # pylint: disable=arguments-differ
     def refresh(self, msg):
-- 
2.4.3



More information about the anaconda-patches mailing list