[gimp] Bug 723177 - After opening an ICC profile with a long description...



commit 219bf3529942f9b12d65cf93705dbeaf0a9812cb
Author: Michael Natterer <mitch gimp org>
Date:   Tue Jan 28 18:54:46 2014 +0100

    Bug 723177 - After opening an ICC profile with a long description...
    
    ...dialogs are too wide
    
    Ellipsize GimpColorProfileComboBox' label.

 libgimpwidgets/gimpcolorprofilecombobox.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/libgimpwidgets/gimpcolorprofilecombobox.c b/libgimpwidgets/gimpcolorprofilecombobox.c
index 10bde3a..0a1b319 100644
--- a/libgimpwidgets/gimpcolorprofilecombobox.c
+++ b/libgimpwidgets/gimpcolorprofilecombobox.c
@@ -130,6 +130,11 @@ gimp_color_profile_combo_box_init (GimpColorProfileComboBox *combo_box)
 {
   GtkCellRenderer *cell = gtk_cell_renderer_text_new ();
 
+  g_object_set (cell,
+                "ellipsize", PANGO_ELLIPSIZE_END,
+                NULL);
+
+
   gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (combo_box), cell, TRUE);
   gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (combo_box), cell,
                                   "text", GIMP_COLOR_PROFILE_STORE_LABEL,


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