How to send IM message through D-BUS without forking UI up
itrs.lin at gmail.com
Fri Sep 5 06:40:16 EDT 2008
The code works by opening a window on screen normally.
What I want to do is sending a message in background/command line
without opening any
UI on screen.
Sadrul Habib Chowdhury ??:
> * Sam Lin had this to say on [05 Sep 2008, 18:12:52 +0800]:
>> Hi All,
>> I can use python-dbus to send IM message through D-BUS.
>> conversation = purple.PurpleConversationNew(1,acc,"foo at bar <http://pidgin.im/cgi-bin/mailman/listinfo/devel>")
>> im = purple.PurpleConversationGetImData(conversation)
>> But the call purple.PurpleConversationNew () will fork pidgin dialog UI up.
> What exactly do you mean?
>> Is there any way to send IM message through D-BUS without forking UI up ?
> The above code should work (and does for me). Perhaps you can create a
> small sample code where it doesn't work?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Devel