Hi Ajay,

first, thanks for helping on this.

2012/12/10 Ajay Garg <[email protected]>:
> This issue happens, when ".xo" files need to be rendered in the listview in 
> non-journal locations.
> In such cases, these files have no "activity" or "bundle_id" fields in their 
> metadata.
>
> Thus, the current way to know the icon-file-name for such ".xo" files was to 
> expand the zipped files, and write out the icon-files at pseudo-permanent 
> storage,  at /tmp.
>
> However, before the icon-file could be used by the listview to "pick up" the 
> icon bytes, it was  being  garbage-collected.

Are you sure about this assumption?  How can you explain that the
icons are visible in the palette and in the details view?  I tested
with a stick which has a .xo file inside.

1. ls /tmp - no svg files

2. open Journal - I can see this:
http://bugs.sugarlabs.org/attachment/ticket/4276/test-wrong-icon.png

3. ls /tpm - now I can see two svg files

So seems your assumption is wrong.
_______________________________________________
Sugar-devel mailing list
[email protected]
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to