Fix #8101 - new roo bjs files fail and fix top drop
[roobuilder] / src / Builder4 / PopoverFileDetails.bjs
index bd2192f..6026f73 100644 (file)
         {
          "$ visible" : true,
          "$ xns" : "Gtk",
-         "* pack" : "attach,1,2,1,1",
          "bool hexpand" : true,
          "id" : "title",
          "xtype" : "Entry"
          "",
          "",
          "\tif (_this.name.el.get_text().length  < 1) {",
-         "\t    Xcls_StandardErrorDialog.singleton().show(",
+         "\t   var msg = new Adw.MessageDialog(",
          "\t        _this.mainwindow.el,",
+         "\t        \"Opps\",",
          "\t        \"You have to set a Component name \"",
          "\t    );",
+         "\t    msg.modal = true;",
+         "\t    msg.present();",
          "\t     ",
          "\t    return;",
          "\t}",