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

List:       kde-devel
Subject:    Re: BarIcon()
From:       Michael Koch <m_koch () bigfoot ! de>
Date:       1999-10-25 10:07:57
[Download RAW message or body]

Am Mon, 25 Okt 1999 schrieb Stephan Kulow:
> Simon Hausmann wrote:
> > 
> > On Mon, 25 Oct 1999, Michael Koch wrote:
> > 
> > > Am Mon, 25 Okt 1999 schrieb Simon Hausmann:
> > > > IMHO $prefix/share/toolbar is for "globally" used toolbar icons (shared
> > > > ones), while $prefix/share/apps/appname/toolbar looks like being a good
> > > > place for app specific icons.
> > > 
> > > But then BarIcon() should search in $prefix/share/apps/appname/toolbar.
> > > And currently it doesn't searches ther by default. Thats my problem.
> > 
> > I think the right way is to add your desired resource to the KStandardDirs
> > instance of your KInstance.
> > 
> > Like:
> > 
> > MyInstance->dirs()->addResourceType( "toolbar", \
> > KStandardDirs::kde_default("data") + "myinstancename/toolbar/"); 
> > For a normal application MyInstance equals KGlobal, otherwise your your
> > KInstance ;)
> > 
> KIconLoader does that for you - perhaps there is a bug (Reggie reported
> something
> like this already), but it needs to be fixed - it shouldn't be necessary
> to
> patch the search path on it's own.

That was what I wanted to hear, I will try to search the bug.




Ciao,
Michael
-- 
Michael Koch


KDE fan, enthusiast and developer

koch@kde.org
m_koch@bigfoot.de
mkoch@mandrakesoft.com
mkoch@heaven.riednet.wh.tu-darmstadt.de


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

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