[gimp/ell/blending-mode-icons: 8/9] app: show blending mode icons in the mode combos



commit 500dbbf6caaebbd4b9b7307255ccf91cfbe77e29
Author: Ell <ell_se yahoo com>
Date:   Sun Jan 1 16:20:35 2017 -0500

    app: show blending mode icons in the mode combos

 app/widgets/gimpwidgets-constructors.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/app/widgets/gimpwidgets-constructors.c b/app/widgets/gimpwidgets-constructors.c
index de47f96..c672415 100644
--- a/app/widgets/gimpwidgets-constructors.c
+++ b/app/widgets/gimpwidgets-constructors.c
@@ -181,6 +181,8 @@ gimp_paint_mode_menu_new (gboolean with_behind_mode,
   combo = gimp_enum_combo_box_new_with_model (GIMP_ENUM_STORE (store));
   g_object_unref (store);
 
+  gimp_enum_combo_box_set_icon_prefix (GIMP_ENUM_COMBO_BOX (combo), "gimp");
+
   gtk_combo_box_set_row_separator_func (GTK_COMBO_BOX (combo),
                                         gimp_paint_mode_menu_separator_func,
                                         GINT_TO_POINTER (-1),


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