[Tango-artists] How do the GTK stock icons work?

Tobias Wolf towolf at gmail.com
Wed Aug 9 09:30:08 PDT 2006


On Mi, 2006-08-09 at 09:19 -0400, Rodney Dawes wrote:
> On Wed, 2006-08-09 at 14:14 +0200, Tobias Wolf wrote:
> > Salve,
> > 
> > I wanted to replace the stock action "edit" with my own (humble)
> > version, because it stands out in many places, e.g., on the new Nautilus
> > location entry toggle. However I cannot figure out how to do it. Simply
> > replacing stock_edit.png in g-i-t shows no effect.
> 
> The names for gtk+ stock icons are not stock_*. They are gtk-* and you
> can see exactly what they are for each image in the gtkstock.h header
> file from the development package for gtk+.
> 
> > I’ll attach the icons, but they’re merely remixed from existing
> > Tango/git2 icons.
> 
> You can't just mix pieces from tango-icon-theme and gnome-icon-theme
> into a new icon, due to the license differences. The two licenses are
> not compatible, so any derivative icons must be entirely made up of
> elements under only one of the licenses.

I think the 16x16 was from _somewhere_ while the larger sizes were drawn
from g-i-t.

> I don't think we should have a document-edit. The attached icon for
> example, doesn't make much sense for images, audio, or similar file
> types. And it doesn't make sense for where Tobias is intending to use
> this icon, which is a button to toggle the location entry bar in the
> Nautilus browser window, which has nothing to do with editing a
> document. In reality the "go-jump" icon probably makes more sense in
> the context of where it's used in nautilus. And I don't think we need
> an edit icon for documents. It just seems like something we should try
> to move away from having.

I see. And I agree about about the non-specificity of the symbol, in
particular for this button in Nautilus. However I wouldn’t come to the
same conclusion 1) because using arrows (straight or curved) everywhere
is equally awkward and 2) putting a button there is overkill.

--Tobias



More information about the Tango-artists mailing list