Clones.bjs
authorAlan Knowles <alan@roojs.com>
Fri, 16 Nov 2018 04:59:52 +0000 (12:59 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 16 Nov 2018 04:59:52 +0000 (12:59 +0800)
Clones.vala

Clones.bjs
Clones.vala

index 45261e5..a473a5d 100644 (file)
          },
          "id" : "reposView",
          "* init" : " \n{\n    var selection = this.el.get_selection();\n    selection.set_mode( Gtk.SelectionMode.SINGLE);\n\n\n    var description = new Pango.FontDescription();\n    description.set_size(10000);\n    this.el.override_font(description);\n \n}\n",
+         "bool activate_on_single_click" : true,
          "xtype" : "TreeView",
          "* pack" : "add",
          "int search_column" : 0,
index 5df0be6..2965a21 100644 (file)
@@ -478,6 +478,7 @@ public class Clones : Object
 
             // set gobject values
             this.el.search_column = 0;
+            this.el.activate_on_single_click = true;
             this.el.enable_grid_lines = Gtk.TreeViewGridLines.HORIZONTAL;
             var child_0 = new Xcls_reposStore( _this );
             child_0.ref();