[patch] refresh desktop icons

George Staikos staikos at kde.org
Sun Nov 21 00:59:48 GMT 2004


On Saturday 20 November 2004 19:46, David Faure wrote:
> On Sunday 21 November 2004 00:03, Martin Koller wrote:
> >  #if 0
> >    m_bNeedRepaint |= 1;
> >    updateWorkArea();
> > -  refreshIcons();
> >  #endif
> >    kapp->dcopClient()->send( "kwin", "", "refresh()", "");
> > +  refreshIcons();
>
> Hmm. Yes. I disagree with George's comment above that code; kwin only
> repaints, but not more. So we do need refreshIcons in there, there's
> no other way to trigger that code for the user.

   "Refreshing icons" was not particularly necessary at that time.  I left it 
there with a comment because it might be one day, which of course is the case 
now.

-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/




More information about the kde-core-devel mailing list