src/Builder4/PopoverProperty.bjs
authorAlan <alan@roojs.com>
Thu, 9 Jun 2022 05:50:59 +0000 (13:50 +0800)
committerAlan <alan@roojs.com>
Thu, 9 Jun 2022 05:50:59 +0000 (13:50 +0800)
src/Builder4/PopoverProperty.vala

src/Builder4/PopoverProperty.bjs
src/Builder4/PopoverProperty.vala

index 3a4657b..8ce81d7 100644 (file)
         "\t} else {",
         "\t\tthis.el show();",
         "\t\t",
-        "\t\tthis.el.set_label(\"<span color=\\\"red\\\">\" + err + \"</span>\");",
+        "\t\tthis.el.label = \"<span color=\\\"red\\\">\" + err + \"</span>\";",
         "\t}",
         "}",
         ""
index bdc801a..50c75a0 100644 (file)
@@ -591,7 +591,7 @@ public class Xcls_PopoverProperty : Object
                } else {
                        this.el show();
                        
-                       this.el.set_label("<span color=\"red\">" + err + "</span>");
+                       this.el.label = "<span color=\"red\">" + err + "</span>";
                }
         }
     }