Clones.bjs
[gitlive] / Clones.vala
index 109dd6d..8950c3b 100644 (file)
@@ -606,7 +606,7 @@ public class Clones : Object
                 // } catch(e) { print(e);}
                   
                 this.el.set_value(iter, 0,   repo.name );
-        //        this.el.set_value(ret.iter, 1, '' + repo.currentBranch.name   );
+              this.el.set_value( ter, 1, '' + repo.currentBranch.name   );
         //        this.el.set_value(ret.iter, 2, '' + repo.branches.map(
         //                        function(e) { return e.name; 
         //                    }).join(', ') 
@@ -633,6 +633,7 @@ public class Clones : Object
                 this.el.set_value(iter, 7, col  );      
                 
             }     
+            this.el.set_sort_column_id (0, Gtk.SortType.ASCENDING);
         }
     }
 
@@ -803,7 +804,7 @@ public class Clones : Object
             // my vars (dec)
 
             // set gobject values
-            this.el.sort_column_id = 3;
+            this.el.sort_column_id = 0;
             this.el.title = "Repo";
             this.el.min_width = 200;
             this.el.sort_order = Gtk.SortType.ASCENDING;