mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
added context menu icon for Edit Channel
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3537 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
8fae298502
commit
0ffaf67ae0
@ -157,19 +157,19 @@ void ChannelFeed::channelListCustomPopupMenu( QPoint point )
|
||||
restoreKeysAct = new QAction(QIcon(":/images/settings16.png"), tr("Restore Publish Rights for Channel" ), this );
|
||||
connect( restoreKeysAct , SIGNAL( triggered() ), this, SLOT( restoreChannelKeys() ) );
|
||||
|
||||
editChannelDetailAct = new QAction(QIcon(":/images/settings16.png"), tr("Edit Channel Details"), this);
|
||||
editChannelDetailAct = new QAction(QIcon(":/images/edit_16.png"), tr("Edit Channel Details"), this);
|
||||
connect( editChannelDetailAct, SIGNAL( triggered() ), this, SLOT( editChannelDetail() ) );
|
||||
|
||||
shareKeyAct = new QAction(QIcon(":/images/gpgp_key_generate.png"), tr("Share Key"), this);
|
||||
shareKeyAct = new QAction(QIcon(":/images/gpgp_key_generate.png"), tr("Share Channel"), this);
|
||||
connect( shareKeyAct, SIGNAL( triggered() ), this, SLOT( shareKey() ) );
|
||||
|
||||
if((ci.channelFlags & RS_DISTRIB_PUBLISH) && (ci.channelFlags & RS_DISTRIB_ADMIN))
|
||||
{
|
||||
contextMnu.addAction( postchannelAct );
|
||||
contextMnu.addSeparator();
|
||||
contextMnu.addAction( channeldetailsAct );
|
||||
contextMnu.addAction( editChannelDetailAct);
|
||||
contextMnu.addAction( shareKeyAct );
|
||||
contextMnu.addAction( channeldetailsAct );
|
||||
}
|
||||
else if (ci.channelFlags & RS_DISTRIB_PUBLISH)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user