[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Icon loader ignoring $XDG_DATA_HOME
From:       Thiago Macieira <thiago () kde ! org>
Date:       2006-06-11 6:01:25
Message-ID: 200606110801.33269.thiago () kde ! org
[Download RAW message or body]


Waldo Bastian wrote:
>It seems that KDE doesn't look in $XDG_DATA_HOME/icons for icons as per
> icon spec. I would like to know if that is going to be (or has already
> been) fixed and if so, in which version(s) such fix can be expected. I
> can work around it in Portland/xdg-utils but if the icon spec is to be
> included in LSB 3.2, a fix is needed. For Portland it would be nice to
> know which versions of KDE require a workaround (As far as I can see it
> affects every version up till now).

As far as I can tell from the code in kstandarddirs.cpp and 
kiconloader.cpp, all versions are affected. The workaround would be to 
symlink ~/.kde/share/icons to $XDG_DATA_HOME or vice-versa. Another 
possibility is to have either KDEHOME or KDEDIRS point to XDG_DATA_HOME.

The proper fix would probably involve adding a "xdgdata-icons" to the 
prefix list in KIconLoader::init.

But this is not my area of expertise, so I could be way off the mark here.

-- 
Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
  thiago.macieira (AT) trolltech.com     Trolltech AS
    GPG: 0x6EF45358                   |  Sandakerveien 116,
    E067 918B B660 DBD1 105C          |  NO-0402
    966C 33F5 F005 6EF4 5358          |  Oslo, Norway

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic