[maemo-developers] Mission Control: Any Dbus interface method to list all the available ChannelRequest objects?
From: Sudheer K scifi1947 at gmail.comDate: Thu Jul 29 08:22:30 EEST 2010
- Previous message: Mission Control: Any Dbus interface method to list all the available ChannelRequest objects?
- Next message: need help on Capturing Image via Dbus-send command on N900 Maemo5
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Sudheer K <scifi1947 <at> gmail.com> writes: > If this is not possible, may be I can throw an error from the > CreateChannel/EnsureChannel methods of my Connection Requests class. This error > should make mission control remove the channel by itself. What do you think? > > And I don't know how to raise a Telepathy error from Qt. Any guidance? > > ~Sudheer > Answering the question myself. It is possible to raise telepathy error from Qt Telepathy interface implementations using QDBusContext::sendErrorReply() method. I tested by replying with errors like org.freedesktop.Telepathy.Error.NotAvailable from CreateChannel method, and mission control closed the channel. The only issue is MC is displaying its own interpretation of the error message, not what I sent from Connection object. But thats not a big issue. ~Sudheer
- Previous message: Mission Control: Any Dbus interface method to list all the available ChannelRequest objects?
- Next message: need help on Capturing Image via Dbus-send command on N900 Maemo5
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]