diff --git a/retroshare-gui/src/gui/MainWindow.cpp b/retroshare-gui/src/gui/MainWindow.cpp index 6ff4cea09..edf315b68 100644 --- a/retroshare-gui/src/gui/MainWindow.cpp +++ b/retroshare-gui/src/gui/MainWindow.cpp @@ -412,9 +412,9 @@ void MainWindow::initStackedPage() //notify.push_back(QPair(gxsforumDialog, action)); addPage(gxsforumDialog = new GxsForumsDialog(ui->stackPages), grp, ¬ify); - //PostedDialog *postedDialog = NULL; - //addPage(postedDialog = new PostedDialog(ui->stackPages), grp, ¬ify); - //postedDialog->setup(); + PostedDialog *postedDialog = NULL; + addPage(postedDialog = new PostedDialog(ui->stackPages), grp, ¬ify); + postedDialog->setup(); WikiDialog *wikiDialog = NULL; addPage(wikiDialog = new WikiDialog(ui->stackPages), grp, ¬ify); diff --git a/retroshare-gui/src/gui/Posted/PostedDialog.h b/retroshare-gui/src/gui/Posted/PostedDialog.h index 1289b7b15..1403ccfa7 100644 --- a/retroshare-gui/src/gui/Posted/PostedDialog.h +++ b/retroshare-gui/src/gui/Posted/PostedDialog.h @@ -30,6 +30,8 @@ #include "gui/Posted/PostedListDialog.h" #include "gui/Posted/PostedItem.h" +#define IMAGE_POSTED ":/images/wikibook_32.png" + class PostedDialog : public GxsCommentContainer { Q_OBJECT @@ -38,6 +40,11 @@ public: PostedDialog(QWidget *parent = 0) :GxsCommentContainer(parent) { return; } + virtual QIcon iconPixmap() const { return QIcon(IMAGE_POSTED) ; } //MainPage + virtual QString pageName() const { return tr("Posted") ; } //MainPage + virtual QString helpText() const { return ""; } //MainPage + + virtual GxsServiceDialog *createServiceDialog() { return new PostedListDialog(this);