X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=tests%2FGladeTest.vala;h=5c0cf017a0c2d323691d12ba1768505ccda2477f;hb=6f6e6ab99d47d1211e8f308cc7f2e88efc06503f;hp=90d403fc5b1b218ff900b50844bc6c1cb2cd4fe2;hpb=cbe30e37467e9644b1ff2de0cc5643e73aab75b9;p=app.Builder.js diff --git a/tests/GladeTest.vala b/tests/GladeTest.vala index 90d403fc5..5c0cf017a 100644 --- a/tests/GladeTest.vala +++ b/tests/GladeTest.vala @@ -18,12 +18,7 @@ int main (string[] args) { var tf = proj.files.get(proj.firstPath() + "/WindowLeftProps.bjs"); tf.loadItems(); - print(tf.tree.toJsonString()); - var x = new JsRender.NodeToGlade(tf.tree, ""); - - print(x.munge()); - return 0; - + var w = new Gtk.Window( Gtk.WindowType.TOPLEVEL ); @@ -31,12 +26,9 @@ int main (string[] args) { left_props.el.show(); w.add(left_props.el); w.show_all(); + left_props.load(tf); - - var p = left_props.el.get_project(); - print("LOADING\n"); - p.load_from_file("/home/alan/gitlive/app.Builder.js/tests/test.glade"); - + Gtk.main();