Review Request: Implement close button in plasmoid
Lasath Fernando
kde at lasath.org
Mon Feb 6 20:56:48 UTC 2012
> On Feb. 6, 2012, 1:58 p.m., David Edmundson wrote:
> > plasmoid/declarative-plugin/conversation.h, line 60
> > <http://git.reviewboard.kde.org/r/103879/diff/1/?file=48818#file48818line60>
> >
> > slots shouldn't be a verb that sound like an action, it should be in past tense.
> >
> > It currently sounds like calling this will invalidate the channel, which is not the case.
> >
> > suggest "onInvalidated".
I name it invalidate because calling it _will_ in fact, invalidate the Conversation. But since that wasn't clear, I'll call it invalidateConversation or onChannelInvalidated.
- Lasath
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/103879/#review10371
-----------------------------------------------------------
On Feb. 6, 2012, 12:49 p.m., Lasath Fernando wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/103879/
> -----------------------------------------------------------
>
> (Updated Feb. 6, 2012, 12:49 p.m.)
>
>
> Review request for Telepathy.
>
>
> Description
> -------
>
> This makes ConversationsModel remove every conversation whose Tp::TextChannel becomes invalid. Since this plasmoid is primarily meant to allow for quick response for incomming chats, I don't think closed channels have any place here.
>
> The close button calls requestClose in the text channel so it'll be closed and removed from the plasmoid.
>
>
> This addresses bug 292974.
> http://bugs.kde.org/show_bug.cgi?id=292974
>
>
> Diffs
> -----
>
> plasmoid/declarative-plugin/conversation.h a072a51
> plasmoid/declarative-plugin/conversation.cpp 89cd4e8
> plasmoid/declarative-plugin/conversations-model.h 6d38c3d
> plasmoid/declarative-plugin/conversations-model.cpp ad13f67
> plasmoid/declarative-plugin/messages-model.h 8da3626
> plasmoid/declarative-plugin/messages-model.cpp 3b4d4db
> plasmoid/org.kde.ktp-chatplasmoid/contents/ui/main.qml 4de2ef3
>
> Diff: http://git.reviewboard.kde.org/r/103879/diff/diff
>
>
> Testing
> -------
>
> Opened a bunch of chats, then closed them.
>
>
> Thanks,
>
> Lasath Fernando
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20120206/4933e61a/attachment-0001.html>
More information about the KDE-Telepathy
mailing list