Blame SOURCES/0001-region-Avoid-overly-long-labels-causing-horizontal-s.patch

ea7a08
From 2689e36489ebb59d04b8f64860e28ac3d39fe88b Mon Sep 17 00:00:00 2001
ea7a08
From: Rui Matos <tiagomatos@gmail.com>
ea7a08
Date: Mon, 13 Jul 2015 14:29:46 +0200
ea7a08
Subject: [PATCH 1/3] region: Avoid overly long labels causing horizontal
ea7a08
 scrolling
ea7a08
ea7a08
Just ellipsize them instead.
ea7a08
ea7a08
https://bugzilla.gnome.org/show_bug.cgi?id=752383
ea7a08
---
ea7a08
 panels/region/cc-input-chooser.c | 1 +
ea7a08
 1 file changed, 1 insertion(+)
ea7a08
ea7a08
diff --git a/panels/region/cc-input-chooser.c b/panels/region/cc-input-chooser.c
ea7a08
index 297b79e..74a0f6d 100644
ea7a08
--- a/panels/region/cc-input-chooser.c
ea7a08
+++ b/panels/region/cc-input-chooser.c
ea7a08
@@ -138,6 +138,7 @@ padded_label_new (const gchar        *text,
ea7a08
 
ea7a08
   label = gtk_label_new (text);
ea7a08
   gtk_misc_set_alignment (GTK_MISC (label), alignment, 0.5);
ea7a08
+  gtk_label_set_ellipsize (GTK_LABEL (label), PANGO_ELLIPSIZE_MIDDLE);
ea7a08
   set_row_widget_margins (label);
ea7a08
   gtk_box_pack_start (GTK_BOX (widget), label, TRUE, TRUE, 0);
ea7a08
   if (dim_label)
ea7a08
-- 
ea7a08
2.5.0
ea7a08