On Saturday, 2013-08-10, Stephan Sokolow wrote: > On 13-08-10 06:14 AM, Kevin Krammer wrote: > > On Friday, 2013-08-09, PCMan wrote: > >> On Sat, Aug 10, 2013 at 1:11 AM, .. ink .. <[email protected]> wrote: > >>>>> 4. Any plans to support KDE's kstatusnotifyitem API[2]? > >>>> > >>>> Long time ago I suggested to implement appindicator, bu it was > >>>> Ubuntu-specific and we decided don't to do that. If the situation has > >>>> changed now, I think we can implement it. The XEmbed is terrible. > >>>> > >>>> Who knows what with systray in Wayland/Mir? > >>>> > >>> As far as i know KDE's kstatusnotifyitem and unity's appindicator > >>> > >>> implements the same underlying d-bus based API. > >> > >> Supporting unity appindicator is possible. We did it in lxde in the > >> past. Unity provides a lib for it, so technically we can create a panel > >> plugin for appindicator. > > > > And, since it is a D-Bus API, it can also be implemented directly. > > Does the KDE version extend the API to be capable of supporting a > "left-click toggles main window visibility, right-click displays the > context menu" paradigm?
I am not sure how it does it exactly but it definitely does it. E.g. left clicking the Amarok icon toggles main window visiblity and Amarok is using KSystemNotifierItem for its tray integration. I did a quick code search and it seems this is communicated via a property on the D-Bus object. If the property "ItemIsMenu" is true, left click will call the ContextMenu D-Bus method, otherwise (propery is false or missing) it will call the Activate D-Bus method. If you need that more detailed I guess it would be best to ask on the plasma- [email protected] mailinglist or on the #plasma channel on Freenode IRC. Cheers, Kevin -- Kevin Krammer, KDE developer, xdg-utils developer KDE user support, developer mentoring
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________ Lxde-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lxde-list
