Blob Blame History Raw
From 9325e0d5f1bb904237ba1fb567a65469cf7b369b Mon Sep 17 00:00:00 2001
From: Rafal Luzynski <digitalfreak@lingonborough.com>
Date: Wed, 9 Mar 2016 23:20:02 +0100
Subject: [PATCH] Let main title of the crash wrap

The application name plus the words "quit unexpectedly" can be
long in some translations. Wrapping will not work if a label can
ellipsize so ellipsizing turned off. At the same time:
- wrapping mode set to word-char for some apps with
  crazy-very-long-names-without-spaces,
- minimum width set to 20 chars to make sure it does not break
  normal words which can legally be long.
---
 src/gnome_abrt/oops.glade | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/gnome_abrt/oops.glade b/src/gnome_abrt/oops.glade
index 468342e..bdb475e 100644
--- a/src/gnome_abrt/oops.glade
+++ b/src/gnome_abrt/oops.glade
@@ -402,8 +402,10 @@
                                             <property name="margin_top">19</property>
                                             <property name="label">Application killed by signal</property>
                                             <property name="wrap">True</property>
+                                            <property name="wrap-mode">word-char</property>
+                                            <property name="width-chars">20</property>
                                             <property name="selectable">True</property>
-                                            <property name="ellipsize">end</property>
+                                            <property name="ellipsize">none</property>
                                             <style>
                                               <class name="oops-reason"/>
                                             </style>
-- 
2.4.11