summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-04-18 09:50:02 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-04-18 09:50:02 (GMT)
commit42cda67cb8a90c6245df6d2594ae408f5238be34 (patch)
tree817bdef453a0c253e13c81f65de4149939dcc204 /Swift/QtUI
parente51448532f837d3ac28ea3c9b03f711df1940803 (diff)
downloadswift-contrib-42cda67cb8a90c6245df6d2594ae408f5238be34.zip
swift-contrib-42cda67cb8a90c6245df6d2594ae408f5238be34.tar.bz2
Update menus with more sensible words.
Resolves: #318
Diffstat (limited to 'Swift/QtUI')
-rw-r--r--Swift/QtUI/QtLoginWindow.cpp2
-rw-r--r--Swift/QtUI/QtMainWindow.cpp10
2 files changed, 6 insertions, 6 deletions
diff --git a/Swift/QtUI/QtLoginWindow.cpp b/Swift/QtUI/QtLoginWindow.cpp
index cee798f..cc75194 100644
--- a/Swift/QtUI/QtLoginWindow.cpp
+++ b/Swift/QtUI/QtLoginWindow.cpp
@@ -135,7 +135,7 @@ QtLoginWindow::QtLoginWindow(UIEventStream* uiEventStream) : QMainWindow() {
connect(xmlConsoleAction, SIGNAL(activated()), SLOT(handleShowXMLConsole()));
toolsMenu_->addAction(xmlConsoleAction);
- toggleSoundsAction_ = new QAction(tr("Toggle Sounds"), this);
+ toggleSoundsAction_ = new QAction(tr("Play Sounds"), this);
toggleSoundsAction_->setCheckable(true);
toggleSoundsAction_->setChecked(true);
connect(toggleSoundsAction_, SIGNAL(toggled(bool)), SLOT(handleToggleSounds(bool)));
diff --git a/Swift/QtUI/QtMainWindow.cpp b/Swift/QtUI/QtMainWindow.cpp
index c947ae7..48cd6c4 100644
--- a/Swift/QtUI/QtMainWindow.cpp
+++ b/Swift/QtUI/QtMainWindow.cpp
@@ -77,17 +77,17 @@ QtMainWindow::QtMainWindow(UIEventStream* uiEventStream, QtTreeWidgetFactory *tr
connect(showOfflineAction, SIGNAL(toggled(bool)), SLOT(handleShowOfflineToggled(bool)));
viewMenu->addAction(showOfflineAction);
- QMenu* chatMenu = new QMenu(tr("Chat"), this);
- menus_.push_back(chatMenu);
+ QMenu* actionsMenu = new QMenu(tr("Actions"), this);
+ menus_.push_back(actionsMenu);
QAction* joinMUCAction = new QAction("Join chatroom", this);
connect(joinMUCAction, SIGNAL(triggered()), SLOT(handleJoinMUCAction()));
- chatMenu->addAction(joinMUCAction);
+ actionsMenu->addAction(joinMUCAction);
addAction_ = new QAction("Add Contact", this);
connect(addAction_, SIGNAL(triggered(bool)), this, SLOT(handleAddActionTriggered(bool)));
- chatMenu->addAction(addAction_);
+ actionsMenu->addAction(addAction_);
QAction* signOutAction = new QAction("Sign Out", this);
connect(signOutAction, SIGNAL(triggered()), SLOT(handleSignOutAction()));
- chatMenu->addAction(signOutAction);
+ actionsMenu->addAction(signOutAction);
}
QtMainWindow::~QtMainWindow() {