Re: systray?
Chris Boyle <[email protected]>
| Newsgroups | gmane.network.everybuddy.user |
|---|---|
| Organization | Debian (www.debian.org) |
| Message-ID | <1054718307.31308.15.camel@localhost> |
On Wed, 2003-06-04 at 04:10, Stuart Longland wrote: > Everybuddy uses GTK, and therefore, it is not able to make use of the system > tray in KDE. EB-Lite is in two parts, a core, which is console, and the UI, > which can be written to use any interface. There's currently one official UI, > ebqt, and at the moment, I don't think it is able to make use of the system tray > (yet). There are 3 standards for system tray integration: * The one from KDE 1, involving the atom _KWM_DOCKWINDOW * The one from KDE 2 and 3, involving the atom _KDE_NET_WM_SYSTEM_TRAY_WINDOW_FOR * The one from freedesktop.org, which GNOME 2 supports (_NET_SYSTEM_TRAY...) EbQt 0.5.4 has a system tray and tries all of these; yes, even KDE 1, even though the 2 versions of Qt involved sometimes can't even be installed together, it's still possible in situations like remote X11, especially with e.g. clever X servers on other platforms (a Windows one could support that standard or the KDE 2 one, anyone seen it done?) > That brings up a question...Is it possible to make it use the system tray, and > perhaps pop up a message the way that the official MSN client does. It's a real > nifty idea. I hate in Trillian having to bring up the trillian dialogue when to > find out who has just logged in, this feature is something I like in MSN. The current system tray has clicking to hide all windows, and a tooltip of which contacts are currently logged in. It doesn't have popups. I'll eventually be adding them, in 2 flavours: the freedesktop.org (GNOME 2) standard has its own mechanism for that, where the panel displays them and can manage them more neatly. This standard also makes it possible to detect whether docking was successful, so I should be able to fall back to popup widgets of my own design if it's on another WM (I *think* I can detect not being docked at all), in other words it *should* *eventually* have an icon with popups, working on GNOME 2, KDE 1, 2 and 3 (and later versions; I think I saw somewhere KDE is trying to support the freedesktop.org standard). The only people this leaves out in the cold are GNOME 1 users. GNOME 1 doesn't AFAIK have a system tray as such, all objects on the panel are special applets, which is rather more complicated. At the moment I've done all this by grabbing atom names out of sources (I don't use the GNOME libs or the KDE libs, just Qt), and that's not *really* an option for the slightly tighter level of integration that GNOME 1 panel apps seem to have (they may all have to be actual genuine GTK widgets). Although people out there are welcome to try: I'll accept any patch that does it reasonably cleanly. :-) > Obviously, put an option in there to disable that, not everyone likes this feature. Noted, the current one isn't actually optional, I'll change that. -- Chris Boyle - http://people.debian.org/~cmb/ GPG: B7D86E0F, MSN: [email protected], ICQ: 24151961, AIM: kerneloops, Yahoo: kerneloops, IRC: cmb on freenode.net