From: Alan Knowles Date: Tue, 30 Oct 2018 07:56:11 +0000 (+0800) Subject: Clones.bjs X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=41ceb500fc23e24badb4020ed18a652355e9f0ac Clones.bjs Clones.vala --- 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();