From 33778ac75586506b6d17c26f49287c814d63d4a1 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 6 Jun 2016 16:04:42 +0800 Subject: [PATCH] src/Builder4/WindowRooView.bjs src/Builder4/WindowRooView.vala --- src/Builder4/WindowRooView.bjs | 4 ++-- src/Builder4/WindowRooView.vala | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Builder4/WindowRooView.bjs b/src/Builder4/WindowRooView.bjs index fd4b05891..377fac0f4 100644 --- a/src/Builder4/WindowRooView.bjs +++ b/src/Builder4/WindowRooView.bjs @@ -181,6 +181,7 @@ "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, + "bool dirty" : false, "id" : "buffer", "int error_line" : "-1", "| string toString" : " () {\n \n Gtk.TextIter s;\n Gtk.TextIter e;\n this.el.get_start_iter(out s);\n this.el.get_end_iter(out e);\n var ret = this.el.get_text(s,e,true);\n //print(\"TO STRING? \" + ret);\n return ret;\n}\n ", @@ -188,8 +189,7 @@ "* pack" : "set_buffer", "xtype" : "SourceBuffer", "bool check_running" : false, - "$ xns" : "Gtk", - "bool XXX" : true + "$ xns" : "Gtk" } ] } diff --git a/src/Builder4/WindowRooView.vala b/src/Builder4/WindowRooView.vala index 006a6824f..42defa2d2 100644 --- a/src/Builder4/WindowRooView.vala +++ b/src/Builder4/WindowRooView.vala @@ -1345,9 +1345,9 @@ public class Xcls_WindowRooView : Object // my vars (def) public bool check_queued; + public bool dirty; public int error_line; public bool check_running; - public bool XXX; // ctor public Xcls_buffer(Xcls_WindowRooView _owner ) @@ -1358,9 +1358,9 @@ public class Xcls_WindowRooView : Object // my vars (dec) this.check_queued = false; + this.dirty = false; this.error_line = -1; this.check_running = false; - this.XXX = true; // set gobject values -- 2.39.2