larrosa at kde.org
Tue Oct 18 10:49:34 BST 2005
On Sunday 16 October 2005 18:26, James Richard Tyrer wrote:
> Rodney Dawes wrote:
> > On Sun, 2005-10-16 at 02:00 -0700, James Richard Tyrer wrote:
> >> The spec states:
> >> The name of the theme that this theme inherits from. If an icon
> >> name is not found in the current theme, it is searched for in the
> >> inherited theme (and recursively in all the inherited themes).
> >> But exactly how should the inheritance tree be parsed?
> > Let's say for example the "Foo" theme has Inherits=gnome,kdeclassic.
> > And, the kdeclassic theme has Inherits=default.
> > The way this *should* work, is that an icon is checked for in Foo,
> > gnome, kdeclassic, default, and then hicolor. If "default" does not
> > exist as a theme (it is NOT an internal alias for hicolor), then the
> > order would be Foo, gnome, kdeclassic, hicolor. I am pretty sure that
> > this is the behavior.
> But, my question is what happens if: "Inherits=kdeclassic,gnome". Which
> should be checked first: "default" or "gnome"?
From the comments in the (KDE iconloader) code:
Multiple inheritance is a broken concept on icon themes, so
the next code doesn't support it on purpose because in fact, it was
never supported at all.
Antonio Larrosa Jimenez
KDE developer - larrosa at kde.org
More information about the kde-core-devel