[PATCH] Draw rounded background behind system tray windows

Aaron J. Seigo aseigo at kde.org
Sun Apr 13 10:19:46 CEST 2008


On Saturday 12 April 2008, Robert Knight wrote:
> According to comments in the code Qt's transparency does not work
> properly with the system tray windows and so the background is filled in
> with the current theme colour. 

i think this is actually a problem with x and the system tray.

> The attached patch draws a rounded rectangle behind the system tray 
> widget.  Not as nice as true transparency but I think it is a good
> option until that can be fixed.

looks good except for one thing: if there are no icons i don't think the 
background should get painted.

probably a check for if (m_mainLayout->rowCount() > 0) would do it?

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Trolltech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080413/4458d5f4/attachment.pgp 


More information about the Panel-devel mailing list