src/Builder4/WindowLeftProjects.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 19 May 2015 09:15:21 +0000 (17:15 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 19 May 2015 09:15:21 +0000 (17:15 +0800)
src/Builder4/WindowLeftProjects.vala

src/Builder4/WindowLeftProjects.bjs

index c2b03d0..9bd68f6 100644 (file)
@@ -33,7 +33,7 @@
      "items" : [
       {
        "listeners" : {
-        "cursor_changed" : " () => {\n    if (_this.is_loading) {\n        return;\n    }\n    \n    Gtk.TreeIter iter;\n    Gtk.TreeModel mod;\n            \n    var s = this.el.get_selection();\n    if (!s.get_selected(out mod, out iter)) {\n        return;\n    }\n    \n    GLib.Value gval;\n\n    mod.get_value(iter, 1 , out gval);\n    var project = (Project.Project)gval.get_object();\n    \n    _this.project_selected(project);\n    \n} "
+        "cursor_changed" : " () => {\n    if (_this.is_loading) {\n        return;\n    }\n    \n    Gtk.TreeIter iter;\n    Gtk.TreeModel mod;\n            \n    var s = this.el.get_selection();\n    if (!s.get_selected(out mod, out iter)) {\n        return;\n    }\n    \n    GLib.Value gval;\n\n    mod.get_value(iter, 1 , out gval);\n    var project = (Project.Project)gval.get_object();\n    \n    _this.project_selected(project);\n    \n}  "
        },
        "id" : "view",
        "* init" : "  var description = new Pango.FontDescription();\n     description.set_size(8000);\n    this.el.modify_font(description);     \n                    \n    var selection = this.el.get_selection();\n    selection.set_mode( Gtk.SelectionMode.SINGLE);\n \n\n    \n   \n ",
@@ -61,8 +61,8 @@
          "items" : [
           {
            "id" : "namecol",
-           "* pack" : "pack_start,true",
            "xtype" : "CellRendererText",
+           "* pack" : "pack_start,true",
            "$ xns" : "Gtk"
           }
          ]