aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoingui.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-07-07 10:59:00 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-07-07 10:59:00 +0200
commitd52a0f3bca2c8df8360308b062185d803e34f0d9 (patch)
tree7b68adaa83bc505d243ebad1e2c471df1a345bde /src/qt/bitcoingui.cpp
parentfac047480df29f1bde3b73899019d43e854b4c4e (diff)
Rename "History" tab to more logical "Transactions", move "Number of transactions" from status bar to overview page
Diffstat (limited to 'src/qt/bitcoingui.cpp')
-rw-r--r--src/qt/bitcoingui.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp
index 3ac87262aa..fbab51bd6b 100644
--- a/src/qt/bitcoingui.cpp
+++ b/src/qt/bitcoingui.cpp
@@ -104,11 +104,6 @@ BitcoinGUI::BitcoinGUI(QWidget *parent):
labelBlocks->setMinimumWidth(130);
labelBlocks->setToolTip(tr("Number of blocks in the block chain"));
- labelTransactions = new QLabel();
- labelTransactions->setFrameStyle(QFrame::Panel | QFrame::Sunken);
- labelTransactions->setMinimumWidth(130);
- labelTransactions->setToolTip(tr("Number of transactions in your wallet"));
-
// Progress bar for blocks download
progressBarLabel = new QLabel(tr("Synchronizing with network..."));
progressBarLabel->setVisible(false);
@@ -120,7 +115,6 @@ BitcoinGUI::BitcoinGUI(QWidget *parent):
statusBar()->addWidget(progressBar);
statusBar()->addPermanentWidget(labelConnections);
statusBar()->addPermanentWidget(labelBlocks);
- statusBar()->addPermanentWidget(labelTransactions);
createTrayIcon();
@@ -133,7 +127,7 @@ void BitcoinGUI::createActions()
overviewAction = new QAction(QIcon(":/icons/overview"), tr("&Overview"), this);
overviewAction->setCheckable(true);
tabGroup->addAction(overviewAction);
- historyAction = new QAction(QIcon(":/icons/history"), tr("&History"), this);
+ historyAction = new QAction(QIcon(":/icons/history"), tr("&Transactions"), this);
historyAction->setCheckable(true);
tabGroup->addAction(historyAction);
@@ -318,7 +312,7 @@ void BitcoinGUI::setNumBlocks(int count)
void BitcoinGUI::setNumTransactions(int count)
{
- labelTransactions->setText(tr("%n transaction(s)", "", count));
+ overviewPage->setNumTransactions(count);
}
void BitcoinGUI::error(const QString &title, const QString &message)