Re: [java-gnome-hackers] More about named icons
Brought to you by:
afcowie
From: Andrew C. <an...@op...> - 2010-11-16 01:09:48
|
On Mon, 2010-11-15 at 20:10 +0100, Guillaume Mazoyer wrote: > > The available icons are extracted from the gnome-icon-theme 2.30. Yeah. So it seems all these categories and names come from a FreeDesktop spec, http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html So after thinking about it for a while I've done up a patch that moves org.gnome.gtk.Icon to org.freedesktop.icons.Icon This unfortunately requires the creation of a helper class to get around visibility issues. Perhaps this is more complexity than necessary, but we've prided ourselves on not exposing internals and at least this keeps internals out of the Icon class's completion space. I also fixed up the test case a bit. Attached. I don't know if we should do this, but I'm inclined toward it. Opinions? AfC Sydney |