[PATCH 2/2] Fix up word wrap on the DetailedErrorDialog.
Chris Lumens
clumens at redhat.com
Wed Feb 13 19:51:03 UTC 2013
---
pyanaconda/ui/gui/spokes/lib/detailederror.glade | 2 ++
pyanaconda/ui/gui/spokes/storage.py | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/pyanaconda/ui/gui/spokes/lib/detailederror.glade b/pyanaconda/ui/gui/spokes/lib/detailederror.glade
index f2f5164..a60d8c1 100644
--- a/pyanaconda/ui/gui/spokes/lib/detailederror.glade
+++ b/pyanaconda/ui/gui/spokes/lib/detailederror.glade
@@ -22,6 +22,7 @@
<property name="margin_bottom">18</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">An unknown error occurred during installation. Details are below.</property>
+ <property name="wrap">True</property>
</object>
<packing>
<property name="expand">False</property>
@@ -39,6 +40,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="editable">False</property>
+ <property name="wrap_mode">word</property>
<property name="cursor_visible">False</property>
<property name="buffer">detailedTextBuffer</property>
</object>
diff --git a/pyanaconda/ui/gui/spokes/storage.py b/pyanaconda/ui/gui/spokes/storage.py
index 7d4080e..8786cae 100644
--- a/pyanaconda/ui/gui/spokes/storage.py
+++ b/pyanaconda/ui/gui/spokes/storage.py
@@ -815,7 +815,7 @@ class StorageSpoke(NormalSpoke, StorageChecker):
def on_info_bar_clicked(self, *args):
if self.errors:
label = _("The following errors were encountered when checking your storage "
- "configuration. You can modify your storage layout\nor quit the "
+ "configuration. You can modify your storage layout or quit the "
"installer.")
dialog = DetailedErrorDialog(self.data, buttons=[_("_Quit"), _("_Modify Storage Layout")], label=label)
--
1.7.11.2
More information about the anaconda-patches
mailing list