+ private GLib.Icon? _icon = null;
+
+ public GLib.Icon? icon {
+ private set {}
+ get {
+ if (this._icon != null) {
+ return this._icon;
+ }
+
+ if (this.path == "") {
+ return null;
+ }
+ if (!GLib.FileUtils.test(this.path, GLib.FileTest.EXISTS)) {
+ return null;
+ }
+ this._icon = File.new_for_path(this.path).query_info("standard::icon",GLib.FileQueryInfoFlags.NONE).get_icon();
+ return this._icon;
+ }
+ }