Summary: | Add setStatusMessage(QString) to Tp::Presence | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Martin Klapetek <martin.klapetek> |
Component: | tp-qt | Assignee: | Martin Klapetek <martin.klapetek> |
Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | enhancement | ||
Priority: | medium | CC: | ollisal |
Version: | unspecified | Keywords: | patch |
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Patch |
Description
Martin Klapetek
2011-11-17 07:07:49 UTC
Umm, where is the patch? :P Created attachment 54972 [details] [review] Patch Oops, how did I miss uploading it?? The patch is fine. I was about to comment about missing documentation... but there is no documentation for anything in Tp::Presence. So, now we have: setStatus(type, status, message) // sets all setStatusMessage(message) // keeps the current status I think this is exactly what we should have. The type and status can't be sensibly set separately, because they are tied together. Also, whether a message can be set depends on the status in many protocols, so if you change the status, the message can't necessarily stay the same. I've added a TODO note to explain this when the class in general is documented properly... and merged your patch to master. Will be in tp-qt-0.9.1. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.