Hi,
I am using free pascal for listening for pidgin signals. This is my code to
connect:
{ Initializes the errors }
dbus_error_init(@FDBErr);
{ Connection }
FDBConn := dbus_bus_get(DBUS_BUS_SESSION, @FDBErr);
{ Request the name of the bus }
ret := dbus_bus_request_name(FDBConn, 'im.pidgin.purple.PurpleInterface',
DBUS_NAME_FLAG_REPLACE_EXISTING, @FDBErr);
It works but only if I connect when pidgin is running. If my plugin connect
first (I don't get any errors) and then run Pidgin, then I don't get any
signals (receiving and sending chat message).
How can I check if pidgin is running or connect with correct flags?
Regards
_______________________________________________
[email protected] mailing list
Want to unsubscribe? Use this link:
http://pidgin.im/cgi-bin/mailman/listinfo/support