From koffice Thu Feb 18 18:33:47 1999 From: David Faure Date: Thu, 18 Feb 1999 18:33:47 +0000 To: koffice Subject: Re: icons X-MARC-Message: https://marc.info/?l=koffice&m=92516346527552 On Wed, Feb 17, 1999 at 02:44:28AM +0000, Kevin Forge wrote: > Reginald Stadlbauer wrote: > > > > Actually this is no problem. You just have also to change the > > sources of the apps. Because if a KOffice app doesn't find all > > icons, it crashes > > You are going to fix this right ? :) Can I suggest an easy fix ? Now that almost all koffice apps use ICON() (i.e. KIconLoader, from kdelibs), the fix would be to patch KIconLoader to return the "unknown.xpm" pixmap if the one asked can't be found. Is there any application out there that relies on KIconLoader::loadIcon returning 0L when the icon can't be found ? (In this case we could add another parameter, with a default value). What do you think ? -- ____________________________________________________________________ | | | David FAURE | | E-mail : David.Faure@insa-lyon.fr, faure@kde.org | | http://www.insa-lyon.fr/People/AEDI/dfaure/index.html | |____________________________________________________________________|