[gimp/gimp-2-10] app: add gtk_combo_box_set_wrap_width for scale menu



commit e17daf66e286d4465db4b602aec02c0db31723d5
Author: Kevin Stoffler <kevin stoff hotmail com>
Date:   Tue Dec 18 16:03:33 2018 +0000

    app: add gtk_combo_box_set_wrap_width for scale menu
    
    (cherry picked from commit a9a979b2d0a9a3ef25d63c90a1401994cca2a818)

 app/display/gimpstatusbar.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/app/display/gimpstatusbar.c b/app/display/gimpstatusbar.c
index 8f51b5f63d..633e896d22 100644
--- a/app/display/gimpstatusbar.c
+++ b/app/display/gimpstatusbar.c
@@ -234,6 +234,7 @@ gimp_statusbar_init (GimpStatusbar *statusbar)
   store = gimp_unit_store_new (2);
   statusbar->unit_combo = gimp_unit_combo_box_new_with_model (store);
   g_object_unref (store);
+  gtk_combo_box_set_wrap_width (statusbar->unit_combo, 1);
 
   gtk_widget_set_can_focus (statusbar->unit_combo, FALSE);
   g_object_set (statusbar->unit_combo, "focus-on-click", FALSE, NULL);


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