From 41ceb500fc23e24badb4020ed18a652355e9f0ac Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 30 Oct 2018 15:56:11 +0800 Subject: [PATCH] Clones.bjs Clones.vala --- Clones.bjs | 1 + Clones.vala | 1 + 2 files changed, 2 insertions(+) diff --git a/Clones.bjs b/Clones.bjs index 54ce9543..e2b18460 100644 --- a/Clones.bjs +++ b/Clones.bjs @@ -155,6 +155,7 @@ { "id" : "tv_repo", "* init" : "\n this.el.add_attribute(_this.cr_repo.el , \"markup\", 0 );\n", + "Gtk.SortType sort_order" : "Gtk.SortType.ASCENDING", "title" : "Repo", "* pack" : "append_column", "xtype" : "TreeViewColumn", diff --git a/Clones.vala b/Clones.vala index e8146616..1ad0fe9d 100644 --- a/Clones.vala +++ b/Clones.vala @@ -805,6 +805,7 @@ public class Clones : Object // set gobject values this.el.title = "Repo"; this.el.min_width = 200; + this.el.sort_order = Gtk.SortType.ASCENDING; this.el.resizable = true; var child_0 = new Xcls_cr_repo( _this ); child_0.ref(); -- 2.39.2