After spending some time trying to do clever things for 'Shared With Me' emblems I ended up with the following:
All signals use $HOME/.local/share/ubuntuone/shares directory for shared files, and 'Shared With Me' is a symlink to this directory. Since Nautilus never visits the original directory it is not possible to get NautilusFileInfo for it. <alex> rtg: The correct way to implement something like that is to request the NautilusFileInfo object for the uri that change, if it exists, and if so call a "refresh" operation on it <alex> rtg: such support doesn't exist, but i'd be happy getting patches to add it https://bugs.launchpad.net/ubuntu/+source/ubuntuone-client/+bug/491777/comments/2 It is possible to create internal mapping for symlink to real file relation, however the reverse mapping is needed as well. It might be possible to create a static mapping for $HOME/.local/share/ubuntuone/shares<->$HOME/Ubuntu One/Shared With Me. I don't like hardcoding paths but, unless the patch for Nautilus is created, we might end up doing this. P.S. We still need some emblem for u1conflict files. -- File emblems don't display correct sync status https://bugs.launchpad.net/bugs/479475 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
