![]() |
2010-10-08
, 19:46
|
Posts: 992 |
Thanked: 738 times |
Joined on Jun 2010
@ Low Earth Orbit
|
#2
|
![]() |
2010-10-08
, 19:51
|
Posts: 356 |
Thanked: 123 times |
Joined on Dec 2008
|
#3
|
![]() |
2010-10-08
, 22:01
|
Posts: 356 |
Thanked: 123 times |
Joined on Dec 2008
|
#5
|
![]() |
2010-10-08
, 22:31
|
Posts: 356 |
Thanked: 123 times |
Joined on Dec 2008
|
#6
|
![]() |
2010-10-08
, 22:40
|
|
Posts: 1,637 |
Thanked: 4,424 times |
Joined on Apr 2009
@ Germany
|
#7
|
The Following User Says Thank You to nicolai For This Useful Post: | ||
![]() |
2010-10-08
, 22:54
|
|
Posts: 2,427 |
Thanked: 2,986 times |
Joined on Dec 2007
|
#8
|
def handle_presence(*args): print "status changed",args
status changed (dbus.Dictionary({dbus.UInt32(1L): dbus.Struct((dbus.UInt32(2L), dbus.String(u'available'), dbus.String(u'')), signature=None)}, signature=dbus.Signature('u(uss)')),)
bus.add_signal_receiver(handle_presence, 'StatusChanged', 'org.freedesktop.Telepathy.Connection', None, '/org/freedesktop/Telepathy/Connection/gabble/jabber/username_40gmail_2ecom_2fMaemo')
status changed (dbus.UInt32(1L), dbus.UInt32(1L)) status changed (dbus.UInt32(0L), dbus.UInt32(1L))
status changed (dbus.UInt32(2L), dbus.UInt32(1L))
![]() |
2010-10-09
, 00:13
|
Posts: 356 |
Thanked: 123 times |
Joined on Dec 2008
|
#9
|
(dbus.Dictionary({dbus.UInt32(3L): dbus.Struct((dbus.UInt32(4L), dbus.String(u'xa'), dbus.String(u"I'm away from my computer")), signature=None)}, signature=dbus.Signature('u(uss)')),)
![]() |
2010-10-09
, 01:17
|
|
Posts: 2,427 |
Thanked: 2,986 times |
Joined on Dec 2007
|
#10
|
The Following User Says Thank You to daperl For This Useful Post: | ||
I am using python. This is the signal that I am monitoring for (any presence change for a user on my jabber account). I got this using the dbus-monitor command: