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

List:       kde-devel
Subject:    Re: How kde find a proper icon for a file with certain mimetype?
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2008-08-30 7:36:05
Message-ID: 20080830073605.GB25110 () morpheus ! apaku ! dnsalias ! org
[Download RAW message or body]

On 30.08.08 10:59:13, Dong Tiger wrote:
> Sorry I didn't make question clear. I can't use KDE library in my program
> but I want to show the same icon as KDE. So my question is where kde gets
> the information to map mimetypes to icon names. Are there some configuration
> files?

Look into the source of KMimeType and the hierarchy of directories/files
under <prefix>/share/icons/<theme>

Andreas

-- 
Living your life is a task so difficult, it has never been attempted before.
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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