0034608
From 9325e0d5f1bb904237ba1fb567a65469cf7b369b Mon Sep 17 00:00:00 2001
0034608
From: Rafal Luzynski <digitalfreak@lingonborough.com>
0034608
Date: Wed, 9 Mar 2016 23:20:02 +0100
0034608
Subject: [PATCH] Let main title of the crash wrap
0034608
0034608
The application name plus the words "quit unexpectedly" can be
0034608
long in some translations. Wrapping will not work if a label can
0034608
ellipsize so ellipsizing turned off. At the same time:
0034608
- wrapping mode set to word-char for some apps with
0034608
  crazy-very-long-names-without-spaces,
0034608
- minimum width set to 20 chars to make sure it does not break
0034608
  normal words which can legally be long.
0034608
---
0034608
 src/gnome_abrt/oops.glade | 4 +++-
0034608
 1 file changed, 3 insertions(+), 1 deletion(-)
0034608
0034608
diff --git a/src/gnome_abrt/oops.glade b/src/gnome_abrt/oops.glade
0034608
index 468342e..bdb475e 100644
0034608
--- a/src/gnome_abrt/oops.glade
0034608
+++ b/src/gnome_abrt/oops.glade
0034608
@@ -402,8 +402,10 @@
0034608
                                             <property name="margin_top">19</property>
0034608
                                             <property name="label">Application killed by signal</property>
0034608
                                             <property name="wrap">True</property>
0034608
+                                            <property name="wrap-mode">word-char</property>
0034608
+                                            <property name="width-chars">20</property>
0034608
                                             <property name="selectable">True</property>
0034608
-                                            <property name="ellipsize">end</property>
0034608
+                                            <property name="ellipsize">none</property>
0034608
                                             <style>
0034608
                                               <class name="oops-reason"/>
0034608
                                             </style>
0034608
-- 
0034608
2.4.11
0034608