Re: Translating pictures



Roozbeh Pournader <roozbeh sharif edu> writes:

> On Tue, 20 Aug 2002, Owen Taylor wrote:
> 
> >   stock["my-stock-item"] = 
> >   {
> >     { "itemltr.png", LTR, *, * },
> >     { "itemrtl.png", RTL, *, * }
> >   }
> > 
> > It could also be done for the stock icons set up by GTK+ if we
> > had the necessary images.
> 
> Unfortunately I can't manage to understand the correct way to do it for
> GTK+. I'm attaching a mirrored image of 'stock_ok_20.png'. Would you
> consider adding this, so I can figure the mechanism to continue with 
> others?

Hmm, for adding them to the source code, it's really all about
the first one :-)

I can't hack this right at the moment, but as a pointer, the
stock icons are added by gtk/gtkiconfactory.c:get_default_icons().
You'd need a variants of add_unsized() and/or add_sized_with_fallback()
that took direction information as well.

Regards,
                                        Owen
_______________________________________________
gnome-i18n mailing list
gnome-i18n gnome org
http://mail.gnome.org/mailman/listinfo/gnome-i18n




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]