Re: Translating pictures
- From: Owen Taylor <otaylor redhat com>
- To: Roozbeh Pournader <roozbeh sharif edu>
- Cc: GNOME i18n list <gnome-i18n gnome org>,GTK i18n <gtk-i18n-list gnome org>
- Subject: Re: Translating pictures
- Date: Tue, 20 Aug 2002 11:18:24 -0400 (EDT)
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]