src/Builder4/ValaCompileResults.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 28 May 2015 09:04:32 +0000 (17:04 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 28 May 2015 09:04:32 +0000 (17:04 +0800)
src/Builder4/ValaCompileResults.vala

src/Builder4/ValaCompileResults.bjs
src/Builder4/ValaCompileResults.vala

index dd82e2b..7b9a96d 100644 (file)
    "Xcls_MainWindow window" : "",
    "xtype" : "Popover",
    "Gtk.PositionType position" : "Gtk.PositionType.TOP",
-   "bool active" : false,
+   "bool active" : true,
    "int width_request" : 600,
    "$ xns" : "Gtk",
-   "| void addLine" : "(string str) {\n\tvar buf = (Gtk.SourceBuffer)this.sourceview.get_buffer();\n\tTextIter iter;\n\tbuf.get_end_iter (out  iter);\n\tbuf.insert(ref iter, str, str.length);\n\t/// scroll..\n\tbuf.get_end_iter (out  iter);\n\tthis.sourceview.el.scroll_to_iter(iter, 0.0f, true, 0.0f, 1.0f);\n\t\n\n}\n",
+   "| void addLine" : "(string str) {\n\tvar buf = (Gtk.SourceBuffer)this.sourceview.get_buffer();\n\tGtk.TextIter iter;\n\tbuf.get_end_iter (out  iter);\n\tbuf.insert(ref iter, str, str.length);\n\t/// scroll..\n\tbuf.get_end_iter (out  iter);\n\tthis.sourceview.el.scroll_to_iter(iter, 0.0f, true, 0.0f, 1.0f);\n\t\n\n}\n",
    "bool modal" : true,
    "items" : [
     {
      "id" : "compile_view",
-     "* pack" : "add",
      "xtype" : "Box",
+     "* pack" : "add",
      "gboolean homogeneous" : false,
      "$ xns" : "Gtk",
      "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL",
index c96d957..a0fe0d6 100644 (file)
@@ -26,7 +26,7 @@ public class Xcls_ValaCompileResults : Object
         this.el = new Gtk.Popover( null );
 
         // my vars (dec)
-        this.active = false;
+        this.active = true;
 
         // set gobject values
         this.el.width_request = 600;
@@ -71,7 +71,7 @@ public class Xcls_ValaCompileResults : Object
     }
     public void addLine (string str) {
        var buf = (Gtk.SourceBuffer)this.sourceview.get_buffer();
-       TextIter iter;
+       Gtk.TextIter iter;
        buf.get_end_iter (out  iter);
        buf.insert(ref iter, str, str.length);
        /// scroll..