Blob Blame History Raw
From 4cf6b1a8a581f63d9a39844ab7968df1453eed0e Mon Sep 17 00:00:00 2001
From: Michael Catanzaro <mcatanzaro@gnome.org>
Date: Tue, 21 Apr 2015 19:17:36 -0500
Subject: [PATCH 1/8] Preferences: Fix width of dialog

If we don't set a width limit, the labels will never wrap, and the
preferences dialog will expand to fill the entire screen horizontally.

https://bugzilla.gnome.org/show_bug.cgi?id=741771
---
 src/empathy-preferences.ui | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/empathy-preferences.ui b/src/empathy-preferences.ui
index 9aa204f..a8015ac 100644
--- a/src/empathy-preferences.ui
+++ b/src/empathy-preferences.ui
@@ -650,6 +650,7 @@
                             <property name="can_focus">False</property>
                             <property name="xalign">0</property>
                             <property name="label" translatable="yes">Echo cancellation helps to make your voice sound clearer to the other person, but may cause problems on some computers. If you or the other person hear strange noises or glitches during calls, try turning echo cancellation off and restarting the call.</property>
+                            <property name="max_width_chars">60</property>
                             <property name="wrap">True</property>
                             <attributes>
                               <attribute name="scale" value="0.80000000000000004"/>
@@ -777,6 +778,7 @@
                             <property name="can_focus">False</property>
                             <property name="xalign">0</property>
                             <property name="label" translatable="yes">Reduced location accuracy means that nothing more precise than your city, state and country will be published.  GPS coordinates will be accurate to 1 decimal place.</property>
+                            <property name="max_width_chars">60</property>
                             <property name="wrap">True</property>
                             <attributes>
                               <attribute name="scale" value="0.80000000000000004"/>
-- 
2.4.0