[Panel-devel] minimization to taskbar
Chani
chanika at gmail.com
Sat Dec 1 08:12:00 CET 2007
On December 1, 2007 00:21:49 Jason Stubbs wrote:
> Hi all.
>
> I've had a go at getting the task bar to report it's position to kwin.
> Rather than copying the code from systemtray, I've moved it into
> Plasma::Widget so that it can be reused by anything else that might
> need to know this sort of stuff.
>
> Attached are three patches:
> * Add associatedViews(), mapToView() and mapFromView() to Widget
> * Modify SystemTray to use the new methods
> * Add reporting of position to kwin in tasks.cpp
>
> Comments?
yay :)
but, what happens to contentSizeHint() if m_currentView is null? that looks
like it could crash.
also, a few comments got lost when you moved the code. :)
--
This message brought to you by evyl bananas, and the number 3.
www.chani3.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20071201/9957716a/attachment.pgp
More information about the Panel-devel
mailing list