Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is there a way to subscribe to messaging menu events? Specifically, I'm looking for a signal (over DBus?) that is fired when the online presence status changes in the messaging menu

share|improve this question
    
telepathy.freedesktop.org/spec/… the dbus api you're looking for is here –  hbdgaf Aug 13 '12 at 21:06
add comment

1 Answer

up vote 6 down vote accepted
+100

The messaging menu uses the Telepathy framework and sends the status events to Telepathy's Mission Control. The webpage that describes Telepathy and how it works is here:

If you use the Telepathy-GLib library you're probably looking for the "most-available-presence-changed" signal from the TpAccountManager object.

share|improve this answer
    
Thanks Ted! That works really well. –  Owais Lone Aug 14 '12 at 7:10
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.