[Panel-devel] JJ: taskmanager clean up

Ryan P. Bitanga ryan.bitanga at gmail.com
Tue Jan 8 03:58:02 CET 2008


Argh. stupid firefox file dialog. Attaching patch this time.

On Jan 8, 2008 10:56 AM, Ryan P. Bitanga <ryan.bitanga at gmail.com> wrote:
> On Dec 20, 2007 5:47 AM, Aaron J. Seigo <aseigo at kde.org> wrote:
> > * TaskManager::self() should be updated to use the same method as seen in, for
> > instance, Plasma::Theme::self()
> >
> > * TaskManager's remaining static member should be moved into the private class
> > for cleanliness
> >
> > * some general code and API review might be in order. things can always be
> > improved right? =)
> >
>
> I wasn't really planning on working on this but investigating the use
> of the thumbnail functions eventually led me to clean it up a bit. I
> did the first one and somewhat did the other two. I removed the static
> method for checking for composite support in favor of
> KWindowSystem::compositingActive(). The thumbnail functions are quite
> useless and can be removed but they could be useful (assuming someone
> beats it into shape) for a fallback thumbnail generation
> implementation if composite support is not available.
>
> It's not in the patch but I think we should remove the isIconified
> method from task.cpp since it's already deprecated.
>
> Ryan
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: taskmanager.diff
Type: text/x-diff
Size: 6120 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080108/f231f805/attachment.bin 


More information about the Panel-devel mailing list