[gnome-chess] Allowing history combobox text to ellipsize



commit 755a39a0c3aa5ea85f3e071c72c195cb2d369990
Author: Brian Daniels <brianddaniels gmail com>
Date:   Sun Sep 8 11:49:03 2019 -0500

    Allowing history combobox text to ellipsize

 data/gnome-chess.ui | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/data/gnome-chess.ui b/data/gnome-chess.ui
index d6adb6d..9979d2f 100644
--- a/data/gnome-chess.ui
+++ b/data/gnome-chess.ui
@@ -328,7 +328,9 @@
                         <property name="model">history_model</property>
                         <signal name="changed" handler="history_combo_changed_cb" swapped="no"/>
                         <child>
-                          <object class="GtkCellRendererText" id="history_combo_cellrenderer"/>
+                          <object class="GtkCellRendererText" id="history_combo_cellrenderer">
+                            <property name="ellipsize">PANGO_ELLIPSIZE_END</property>
+                          </object>
                           <attributes>
                             <attribute name="text">0</attribute>
                           </attributes>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]