[Thunar-dev] Directory thumbnails implemented

Anatoly Asviyan aanatoly at gmail.com
Fri Nov 6 23:22:47 CET 2009


2009/11/6 Brian J. Tarricone <bjt23 at cornell.edu>

> On Fri, Nov 6, 2009 at 12:23, Anatoly Asviyan <aanatoly at gmail.com> wrote:
>
> > Implementation: Whenever Thunar looks up icon for directory, it checks if
> > image file "directory/.DirThumb" exists. If so, Thunar composes content
> of
> > .DirThumb over direcory icon from current icon theme.
>
> Why not use the existing emblem system to associate an icon with the
> directory?

Existing emblem system is not capable of it.  Sorry

>  This would require a bit more work in order to allow using
> arbitrary images as emblems, and allowing the size and position of the
> emblem to change, but it's a lot more generic and better abstracted
> this way.
>
Require more work from whom? From thunar dev team or casual contributor?

Dear thunar developers, I did something on expense of my free time and
published it. If you like it - use it. If not - ignore it. If you want thing
differently - ask me or advice me. That's it. No complains. I do not get
paid for writing thunar code.

>
> Why ".DirThumb"?  Is there a relevant standard for this?  If there is,
> why aren't you using it?  If not, I'd prefer to see this standardized
> (and with a better naming scheme).  This also makes the associated
> icon not themable.
>
Upon icon theme change thunar purges all icons from icon cache (at least it
should) so it's not a problem


>
> > Patch to tunar-1.0.1 is here
>
> Thunar 1.0.1 won't be receiving new features.  New development should
> happen against git master, which likely has diverged a lot since 1.0.x
> due to the new VFS backend.
>
>     -brian
> _______________________________________________
> Thunar-dev mailing list
> Thunar-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/thunar-dev
>



-- 
Regards, Anatoly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.xfce.org/pipermail/thunar-dev/attachments/20091107/30a7b33d/attachment.html>


More information about the Thunar-dev mailing list