src/Builder4/MainWindow.bjs
authorAlan <alan@roojs.com>
Thu, 11 Jan 2024 10:54:18 +0000 (18:54 +0800)
committerAlan <alan@roojs.com>
Thu, 11 Jan 2024 10:54:18 +0000 (18:54 +0800)
src/Builder4/MainWindow.vala

src/Builder4/MainWindow.bjs
src/Builder4/MainWindow.vala

index 3d1dbf9..2d26268 100644 (file)
             "(GLib.ListStore nots, GLib.ListStore fe ) {",
             "    ",
             "     if (nots.get_n_items() < 1 ) {",
+            "     \tGLib.debug(\"no deprc - hide\");",
             "    \tthis.el.hide();",
             "    \tif (this.popup != null && this.popup.el.visible) {",
             "    \t\tthis.popup.el.hide();",
             "\t\t}",
             "    \treturn;",
             "    }",
-            "    ",
+            " \tGLib.debug(\"got deprc - hide\");    ",
             "    this.el.show();",
             "    this.el.label = \"%d/%d Depricated\".printf((int)fe.get_n_items(),(int)nots.get_n_items());",
             "    this.notices = nots;",
index 2496859..2382e70 100644 (file)
             public void setNotices (GLib.ListStore nots, GLib.ListStore fe ) {
                 
                  if (nots.get_n_items() < 1 ) {
+                       GLib.debug("no deprc - hide");
                        this.el.hide();
                        if (this.popup != null && this.popup.el.visible) {
                                this.popup.el.hide();
                        }
                        return;
                 }
-                
+               GLib.debug("got deprc - hide");    
                 this.el.show();
                 this.el.label = "%d/%d Depricated".printf((int)fe.get_n_items(),(int)nots.get_n_items());
                 this.notices = nots;