Review Request: Change "available" presence text to "online"

George Goldberg grundleborg at googlemail.com
Tue May 24 15:30:19 CEST 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/101432/#review3477
-----------------------------------------------------------


See the inline comments, but essentially I think either the icon name needs to be fixed (to be available instead of online) or it needs to be special cased in the applet, since lying about what the presence string is will break any code that is Telepathy spec compliant.


presencesource.cpp
<http://git.reviewboard.kde.org/r/101432/#comment2937>

    I can see why you want to do this (it makes writing an applet easier) but on the other hand it is wrong, because the status is called "available" and not "online" and we shouldn't lie about the status, but should stick to what the Telepathy spec says.



setrequestedpresencejob.cpp
<http://git.reviewboard.kde.org/r/101432/#comment2938>

    This is completely wrong. The simple presence string "online" is not the same as "available" and we must set it to "available" because this is what is meant.
    
    In fact, this entire method handles presence incorrectly (the string should be used in preference to the integer value) but this is something for another bug report.


- George


On May 24, 2011, 1:20 p.m., Francesco Nwokeka wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/101432/
> -----------------------------------------------------------
> 
> (Updated May 24, 2011, 1:20 p.m.)
> 
> 
> Review request for Telepathy.
> 
> 
> Summary
> -------
> 
> Changed the text used to rappresent the availability of an account to "online". This because the presence plasmoid needs to set an icon according to the parameter "PresenceType". The kde presence icons don't have an icon "user-available" but there is a "user-online" icon.
> All other presence types are correct
> 
> 
> Diffs
> -----
> 
>   presencesource.cpp 5994cac 
>   setrequestedpresencejob.cpp cf21d96 
> 
> Diff: http://git.reviewboard.kde.org/r/101432/diff
> 
> 
> Testing
> -------
> 
> Used the new presence plasmoid to do the testing. All went well
> 
> 
> Thanks,
> 
> Francesco
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-telepathy/attachments/20110524/e58b089f/attachment.htm 


More information about the KDE-Telepathy mailing list