The current nautilus-thg.py extension doesn't use the correct ovelay icons for
'unrevisioned' and 'ignored' statuses.
The latter points to emblem 'noread' that doesn't exist anymore in GNOME.
The implementation uses emblems available at /usr/share/icons/Humanity and
that resembles the ones used by TortoiseSVN.
For example, the unrevisioned emblem is a question mark
and the ignored emblem is a symbol that looks like 'forbidden'.
diff -r 96275cf8d364 -r 175448498862 contrib/nautilus-thg.py
--- a/contrib/nautilus-thg.py Thu May 23 00:54:27 2013 +0900
+++ b/contrib/nautilus-thg.py Thu May 23 21:39:18 2013 -0300
@@ -232,8 +232,8 @@
cache2state = {cachethg.UNCHANGED: ('default', 'clean'),
cachethg.ADDED: ('new', 'added'),
cachethg.MODIFIED: ('important', 'modified'),
- cachethg.UNKNOWN: (None, 'unrevisioned'),
- cachethg.IGNORED: ('noread', 'ignored'),
+ cachethg.UNKNOWN: ('dialog-question', 'unrevisioned'),
+ cachethg.IGNORED: ('edit-delete', 'ignored'),
cachethg.NOT_IN_REPO: (None, 'unrevisioned'),
cachethg.ROOT: ('generic', 'root'),
cachethg.UNRESOLVED: ('danger', 'unresolved')}
On Sun, 26 May 2013 06:05:13 -0700 (PDT), André Felipe Dias wrote:[...]
> On Saturday, May 25, 2013 11:38:45 AM UTC-3, Yuya Nishihara wrote:
> > Probably 'noread' was renamed to 'unreadable'. Debian package contains a
> > symlink, emblem-noread.png -> emblem-unreadable.png.
> >
> > I'm not familiar with Nautilus, but I guess these icons should be chosen
> > from emblems.
> >
> > https://git.gnome.org/browse/gnome-icon-theme/tree/gnome/32x32/emblems
>
> I can't tell about Debian package, but in Ubuntu 12.04 and 13.04 there areMy question is whether it is valid or not to specify non-emblem icons to
> no symlinks from emblem-noread.png to emblem-unreadable.png.
>
> Anyway, I don't agree that icons should be chosen only from emblems since
> they are insufficient to convey all the states related to version control.
> The emblem-new icon for example is not semantically correct. It should be
> replaced by 'list-add'. There is no 'emblem-unkown' but the
> 'dialog-question' is close enough to the unrevisioned state and it exists
> in the gnome default icon set.
nautilus_file_info_add_emblem() API. Probably it works because of the following
commit [1], but it doesn't say he want to accept any type of icons.
[1]: https://git.gnome.org/browse/nautilus/commit/libnautilus-private/nautilus-file.c?id=46085d802f21ac42e916dc962f545ce6cc7f6591
--
You received this message because you are subscribed to a topic in the Google Groups "TortoiseHg Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/thg-dev/8PpE5ECWUos/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to thg-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
So, will the patch be approved? Is there something else pending?