diff --git a/retroshare-gui/src/gui/NewsFeed.cpp b/retroshare-gui/src/gui/NewsFeed.cpp index ebfd0d81e..16a35dc29 100644 --- a/retroshare-gui/src/gui/NewsFeed.cpp +++ b/retroshare-gui/src/gui/NewsFeed.cpp @@ -531,14 +531,14 @@ void NewsFeed::handleWireEvent(std::shared_ptr event) case RsWireEventCode::NEW_POST: addFeedItem( new WireNotifyPostItem(this, NEWSFEED_WIRELIST, pe->mWireGroupId, pe->mWireMsgId, false, true)); break; - case RsWireEventCode::NEW_REPLY: - addFeedItem( new WireNotifyPostItem(this, NEWSFEED_WIRELIST, pe->mWireGroupId, pe->mWireMsgId, false, true)); - break; - case RsWireEventCode::NEW_REPUBLISH: - addFeedItem( new WireNotifyPostItem(this, NEWSFEED_WIRELIST, pe->mWireGroupId, pe->mWireMsgId, false, true)); - break; - case RsWireEventCode::NEW_LIKE: - addFeedItem( new WireNotifyPostItem(this, NEWSFEED_WIRELIST, pe->mWireGroupId, pe->mWireMsgId, false, true)); +// case RsWireEventCode::NEW_REPLY: +// addFeedItem( new WireNotifyPostItem(this, NEWSFEED_WIRELIST, pe->mWireGroupId, pe->mWireMsgId, false, true)); +// break; +// case RsWireEventCode::NEW_REPUBLISH: +// addFeedItem( new WireNotifyPostItem(this, NEWSFEED_WIRELIST, pe->mWireGroupId, pe->mWireMsgId, false, true)); +// break; +// case RsWireEventCode::NEW_LIKE: +// addFeedItem( new WireNotifyPostItem(this, NEWSFEED_WIRELIST, pe->mWireGroupId, pe->mWireMsgId, false, true)); break; case RsWireEventCode::WIRE_UPDATED: addFeedItem( new WireNotifyGroupItem(this, NEWSFEED_WIRELIST, pe->mWireGroupId, false, true)); diff --git a/retroshare-gui/src/gui/TheWire/WireDialog.h b/retroshare-gui/src/gui/TheWire/WireDialog.h index 9ce11ca52..a3baf3987 100644 --- a/retroshare-gui/src/gui/TheWire/WireDialog.h +++ b/retroshare-gui/src/gui/TheWire/WireDialog.h @@ -166,7 +166,7 @@ private: virtual void loadRequest(const TokenQueue *queue, const TokenRequest &req) override; - virtual QString settingsGroupName() override{ return "PostedDialog"; } + virtual QString settingsGroupName() override{ return "WireDialog"; } virtual GxsMessageFrameWidget *messageWidget(const RsGxsGroupId &groupId) override; int mGroupSet; diff --git a/retroshare-gui/src/gui/TheWire/WireUserNotify.cpp b/retroshare-gui/src/gui/TheWire/WireUserNotify.cpp index c3e0e1c03..59db49d00 100644 --- a/retroshare-gui/src/gui/TheWire/WireUserNotify.cpp +++ b/retroshare-gui/src/gui/TheWire/WireUserNotify.cpp @@ -46,17 +46,17 @@ QIcon WireUserNotify::getMainIcon(bool hasNew) return hasNew ? FilesDefs::getIconFromQtResourcePath(":/icons/png/wire-notify.png") : FilesDefs::getIconFromQtResourcePath(":/icons/png/wire-circle.png"); } -//QString PostedUserNotify::getTrayMessage(bool plural) +//QString WireUserNotify::getTrayMessage(bool plural) //{ -// return plural ? tr("You have %1 new board posts") : tr("You have %1 new board post"); +// return plural ? tr("You have %1 new wire pulse") : tr("You have %1 new wire pulse"); //} -//QString PostedUserNotify::getNotifyMessage(bool plural) +//QString WireUserNotify::getNotifyMessage(bool plural) //{ -// return plural ? tr("%1 new board post") : tr("%1 new board post"); +// return plural ? tr("%1 new wire pulse") : tr("%1 new wire pulse"); //} void WireUserNotify::iconClicked() { MainWindow::showWindow(MainWindow::Wire); -} \ No newline at end of file +} diff --git a/retroshare-gui/src/gui/TheWire/WireUserNotify.h b/retroshare-gui/src/gui/TheWire/WireUserNotify.h index d3a44fd7e..bf160bec2 100644 --- a/retroshare-gui/src/gui/TheWire/WireUserNotify.h +++ b/retroshare-gui/src/gui/TheWire/WireUserNotify.h @@ -36,6 +36,9 @@ private: virtual QIcon getIcon() override; virtual QIcon getMainIcon(bool hasNew) override; + //virtual QString getTrayMessage(bool plural) override; + //virtual QString getNotifyMessage(bool plural) override; + virtual void iconClicked() override; };