From d3aebc0baa4a765f92a615eb2fc9a6d6a9f2a36a Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 6 Jun 2016 16:04:30 +0800 Subject: [PATCH] src/Builder4/WindowRooView.bjs src/Builder4/WindowRooView.vala --- src/Builder4/WindowRooView.bjs | 5 +++-- src/Builder4/WindowRooView.vala | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/Builder4/WindowRooView.bjs b/src/Builder4/WindowRooView.bjs index c7b4c67b4..fd4b05891 100644 --- a/src/Builder4/WindowRooView.bjs +++ b/src/Builder4/WindowRooView.bjs @@ -178,7 +178,7 @@ "items" : [ { "listeners" : { - "changed" : " () => {\n // check syntax??\n // ??needed..??\n // _this.save_button.el.sensitive = true;\n ///?? has changed occured during loading?\n print(\"- PREVIEW EDITOR CHANGED--\");\n \n \n //this.checkSyntax();\n \n _this.dirty = true;\n\n\n return ;\n}\n\n \n" + "changed" : " () => {\n // check syntax??\n // ??needed..??\n // _this.save_button.el.sensitive = true;\n ///?? has changed occured during loading?\n print(\"- PREVIEW EDITOR CHANGED--\");\n \n \n //this.checkSyntax();\n \n this.dirty = true;\n\n\n return ;\n}\n\n \n" }, "bool check_queued" : false, "id" : "buffer", @@ -188,7 +188,8 @@ "* pack" : "set_buffer", "xtype" : "SourceBuffer", "bool check_running" : false, - "$ xns" : "Gtk" + "$ xns" : "Gtk", + "bool XXX" : true } ] } diff --git a/src/Builder4/WindowRooView.vala b/src/Builder4/WindowRooView.vala index 4d61ddfc6..006a6824f 100644 --- a/src/Builder4/WindowRooView.vala +++ b/src/Builder4/WindowRooView.vala @@ -1347,6 +1347,7 @@ public class Xcls_WindowRooView : Object public bool check_queued; public int error_line; public bool check_running; + public bool XXX; // ctor public Xcls_buffer(Xcls_WindowRooView _owner ) @@ -1359,6 +1360,7 @@ public class Xcls_WindowRooView : Object this.check_queued = false; this.error_line = -1; this.check_running = false; + this.XXX = true; // set gobject values @@ -1373,7 +1375,7 @@ public class Xcls_WindowRooView : Object //this.checkSyntax(); - _this.dirty = true; + this.dirty = true; return ; -- 2.39.2