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

List:       kde-devel
Subject:    Re: KIconLoader::getIconPath
From:       Stephan Kulow <coolo () kde ! org>
Date:       1999-03-09 9:03:03
[Download RAW message or body]

Antonio Larrosa wrote:
> 
> Hi,
> 
> I've added this function to KIconLoader, it allows any application to
> search an icon through the list of directories defined by the user
> in the IconPath key of the [KDE Setup] group in the ~/.kderc file (and
> of course, also looks in standard places).
> 
> The definition is:
> KIconLoader::getIconPath(const QString &name, bool always_valid);
> 
> if you use always_valid, and name is just a name (not a complete path),
> then if it can't find the desired file, the function looks for unknown.xpm
> (which is a pixmap everyone should have) among the same set of
> directories.
> 
> Once kfm uses this, I think we should commit the same fixes for the
> 1.1.1 branch. Users always ask how they can use their icons from other wm's
> in KDE (they really mean in kfm), so I think this is needed in the
> stable version.
> 
> Btw, I couldn't test my changes (I can only assure they compile :-) )
> as I only have the HEAD sources and nearly no applications compile here.
> Can someone take a look in KCursor from libkdeui ? At least the kdelibs
> should compile asap.
> 
They do! Fine for me even.

Greetings, Stephan

-- 
Und sie nannten ihn, wie er selbst unterschrieb -
Den Trojanischen Pferdedieb

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

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