Added waiting indicator to group tree for channels/posted when using "Mark all as read/unread".

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8020 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2015-03-14 21:13:28 +00:00
parent c811d71738
commit d6ca3ffc27
21 changed files with 219 additions and 26 deletions

View file

@ -1511,7 +1511,7 @@ void GxsForumThreadWidget::markMsgAsUnreadChildren()
markMsgAsReadUnread(false, true, false);
}
void GxsForumThreadWidget::setAllMessagesRead(bool read)
void GxsForumThreadWidget::setAllMessagesReadDo(bool read, uint32_t &/*token*/)
{
markMsgAsReadUnread(read, true, true);
}
@ -1543,6 +1543,15 @@ bool GxsForumThreadWidget::navigate(const RsGxsMessageId &msgId)
return false;
}
bool GxsForumThreadWidget::isLoading()
{
if (mStateHelper->isLoading(mTokenTypeGroupData) || mFillThread) {
return true;
}
return GxsMessageFrameWidget::isLoading();
}
void GxsForumThreadWidget::copyMessageLink()
{
if (groupId().isNull() || mThreadId.isNull()) {