System Tray Configuration

Aaron J. Seigo aseigo at kde.org
Tue Nov 30 16:54:33 GMT 2004


On Tuesday 30 November 2004 07:03, Lubos Lunak wrote:
> > should provide _NET_WM_NAME, WM_CLASS and _NET_WM_ICON properties. Qt
> > already sets WM_CLASS, I could add setting of _NET_WM_ICON and
> > _NET_WM_NAME to KSystemTray, the system tray applet could fetch it using
> > the KWin kdecore class then.

>  Attached patches add support for icon and caption for systray icons. There
> should be no problem with icons, it will simply get the same icon as will
> be shown. I'm still not quite sure about the caption, now the dialog shows
> e.g. 'KDE Keyboard Tool' (i18n-ed) instead of 'kxkb', which is IMHO better,

this will be a definite improvement. it doesn't solve the case for nonKDE apps 
but then there's nothing we can do about that. it also relies on the systray 
apps using rational sized icons, which all of the KDE systray apps do, so 
we're covered... i'd say commit.

> but this is not guaranteed to be a constant string. Maybe internally 
> KWin::WindowInfo::windowClassClass() should be remembered.

yes, it will have to be.. this is a fairly trivial change to make...

-- 
Aaron J. Seigo
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20041130/2a94c7d0/attachment.sig>


More information about the kde-core-devel mailing list