I'm trying to develop a simple application to connect to my Skype client in Linux using the DBUS API (raw C - not GLIB).
The problem I have is this - when I try to connect to the skype client using the DBUS command "NAME <clientname>" Skype asks if I want to allow access to Skype from this program. However, if I'm not logged in and I select the "Do not ask me again" checkbox, Skype fails to remember that my program is authorised when it is restarted. When I am logged in it remembers ok since it appends the following to the <UI> section of the user's config.xml file (assuming my app is called 'myapp'):
CODE
<API>
<Authorizations>myapp</Authorizations>
</API>
<Authorizations>myapp</Authorizations>
</API>
I've tried appending this same information to the <UI> section of the shared.xml file but to no avail. Has anyone got any idea how I could get this to work?
Thanks,
Lance