Review Request: Make presence applet to toggle the contactlist on left-click

Dan Vratil dan at progdan.cz
Mon Aug 6 20:18:24 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105898/
-----------------------------------------------------------

Review request for Telepathy.


Description
-------

When you left-click the presence applet, ktp-contactlist is started. When you click it again, nothing happens while behavior of most IM clients is that the contact list is hidden (quit in our case) and I find this feature quite useful (I also find it's absence quite annoying :).

This patch adds check whether org.kde.ktp-contactlist session-bus is registered on DBus. When it's not, it invokes the contact list. When it is registered, it calls
MainApplication org.kde.KApplication quit() method on the contact lst.


Diffs
-----

  src/presenceapplet.cpp 736d953 

Diff: http://git.reviewboard.kde.org/r/105898/diff/


Testing
-------

Works :)


Thanks,

Dan Vratil

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20120806/d4768965/attachment.html>


More information about the KDE-Telepathy mailing list