Fix #7996 - handle namespaces in glade, adw overlay for window selection and open
[roobuilder] / src / JsRender / NodeToGlade.vala
index 785db38..d796ce7 100644 (file)
@@ -99,6 +99,14 @@ public class JsRender.NodeToGlade : Object {
                if (gdata.inherits.contains("Gtk.Native")&& !is_top) {
                        return doc;
                }
+               // what namespaces are supported
+               switch(this.node.NS) {
+                       case "Gtk":
+                       case "Webkit": //??
+                               break;
+                       default:
+                               return doc;
+               }
                
                // other problems!!!