[gimp] libgimpwidgets: only ellipsize GimpIntComboBox's text if requested



commit 34ee988a93f3c2a9193e32fafa314ca52ab01395
Author: Michael Natterer <mitch gimp org>
Date:   Mon Jun 3 16:57:42 2013 +0200

    libgimpwidgets: only ellipsize GimpIntComboBox's text if requested

 libgimpwidgets/gimpintcombobox.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgimpwidgets/gimpintcombobox.c b/libgimpwidgets/gimpintcombobox.c
index 018f012..357d759 100644
--- a/libgimpwidgets/gimpintcombobox.c
+++ b/libgimpwidgets/gimpintcombobox.c
@@ -673,7 +673,7 @@ gimp_int_combo_box_create_cells (GimpIntComboBox *combo_box)
 
   priv->text_renderer = gtk_cell_renderer_text_new ();
   g_object_set (priv->text_renderer,
-                "ellipsize", PANGO_ELLIPSIZE_END,
+                "ellipsize", priv->ellipsize,
                 NULL);
 
   if (priv->label && ! shown)


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