src/Builder4/PopoverFiles.bjs
authorAlan <alan@roojs.com>
Fri, 2 Sep 2022 04:53:58 +0000 (12:53 +0800)
committerAlan <alan@roojs.com>
Fri, 2 Sep 2022 04:53:58 +0000 (12:53 +0800)
src/Builder4/PopoverFiles.vala

src/Builder4/PopoverFiles.bjs
src/Builder4/PopoverFiles.vala

index 9f90846..91438a8 100644 (file)
@@ -9,6 +9,7 @@
    "# bool is_loading" : false,
    "# bool new_window" : false,
    "$ xns" : "Gtk",
+   "Gee.HashMap<string,Gdk.Pixbuf> image_cache" : "null",
    "Gtk.PositionType position" : "Gtk.PositionType.TOP",
    "bool active" : false,
    "bool hexpand" : false,
index e6ad5eb..29e40af 100644 (file)
@@ -32,6 +32,7 @@ public class Xcls_PopoverFiles : Object
     public bool is_loading;
     public bool new_window;
     public Gdk.Pixbuf missing_thumb_pixbuf;
+    public Gee.HashMap<string,Gdk.Pixbuf> image_cache;
     public bool active;
     public bool is_loaded;
 
@@ -46,6 +47,7 @@ public class Xcls_PopoverFiles : Object
         this.in_onprojectselected = false;
         this.is_loading = false;
         this.new_window = false;
+        this.image_cache = null;
         this.active = false;
         this.is_loaded = false;