[gimp] app: sort available display filters by name



commit 531eafe41d4708f88e35fe142b9157b2ba7a2cac
Author: Ell <ell_se yahoo com>
Date:   Sun Nov 12 12:09:34 2017 -0500

    app: sort available display filters by name

 app/widgets/gimpcolordisplayeditor.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/app/widgets/gimpcolordisplayeditor.c b/app/widgets/gimpcolordisplayeditor.c
index 87e3260..8b1bc9d 100644
--- a/app/widgets/gimpcolordisplayeditor.c
+++ b/app/widgets/gimpcolordisplayeditor.c
@@ -153,6 +153,8 @@ gimp_color_display_editor_init (GimpColorDisplayEditor *editor)
                                     G_TYPE_STRING,
                                     G_TYPE_STRING,
                                     G_TYPE_GTYPE);
+  gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (editor->src),
+                                        SRC_COLUMN_NAME, GTK_SORT_ASCENDING);
   tv = gtk_tree_view_new_with_model (GTK_TREE_MODEL (editor->src));
   g_object_unref (editor->src);
 


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