src/Builder4/PopoverFileDetails.vala
},
{
"listeners" : {
- "changed" : "() => {\n\tGtk.TreeIter iter;\n\tbool is_bjs = true;\n\tif (this.el.get_active_iter(out iter)) {\n\t\tValue vfname;\n\t\t_this.ftdbmodel.el.get_value (iter, 0, out vfname);\n\t\t is_bjs = ((string)vfname) == \"BJS\";\n\t}\n \n for (var i = 2; i < 8;i++) {\n\t\tvar el = _this.grid.el.get_child_at(0,i);\n\t\tif (is_bjs) {\n\t\t el.show();\n\t\t} else {\n\t\t\tel.hide();\n\t\t}\n\t\tvar el = _this.grid.el.get_child_at(1,i);\n\t\tif (is_bjs) {\n\t\t el.show();\n\t\t} else {\n\t\t\tel.hide();\n\t\t} \n }\n \n \n\n\n}"
+ "changed" : "() => {\n\tGtk.TreeIter iter;\n\tbool is_bjs = true;\n\tif (this.el.get_active_iter(out iter)) {\n\t\tValue vfname;\n\t\t_this.ftdbmodel.el.get_value (iter, 0, out vfname);\n\t\t is_bjs = ((string)vfname) == \"BJS\";\n\t}\n \n for (var i = 2; i < 8;i++) {\n\t\tvar el = _this.grid.el.get_child_at(0,i);\n\t\tif (is_bjs) {\n\t\t el.show();\n\t\t} else {\n\t\t\tel.hide();\n\t\t}\n\t\t el = _this.grid.el.get_child_at(1,i);\n\t\tif (is_bjs) {\n\t\t el.show();\n\t\t} else {\n\t\t\tel.hide();\n\t\t} \n }\n \n \n\n\n}"
},
"id" : "filetype",
"* init" : "this.el.add_attribute(_this.ftdbcellrenderer.el , \"markup\", 1 );",
} else {
el.hide();
}
- var el = _this.grid.el.get_child_at(1,i);
+ el = _this.grid.el.get_child_at(1,i);
if (is_bjs) {
el.show();
} else {