summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-06-19 19:23:02 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-06-19 19:23:02 (GMT)
commita37cb4d534f82f3be96032a844743de4485157af (patch)
tree66aa655eb762bc56e1a6830b1c4f98397b57c4d0
parente7e64908329c11bb1171b86a2d4db5be448e75be (diff)
downloadswift-a37cb4d534f82f3be96032a844743de4485157af.zip
swift-a37cb4d534f82f3be96032a844743de4485157af.tar.bz2
Shorter tab names for MUCs.
Resolves: #439
-rw-r--r--Swift/Controllers/Chat/MUCController.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/Controllers/Chat/MUCController.cpp b/Swift/Controllers/Chat/MUCController.cpp
index 74b58dc..2f74713 100644
--- a/Swift/Controllers/Chat/MUCController.cpp
+++ b/Swift/Controllers/Chat/MUCController.cpp
@@ -53,6 +53,7 @@ MUCController::MUCController (
completer_ = new TabComplete();
chatWindow_->setRosterModel(roster_);
chatWindow_->setTabComplete(completer_);
+ chatWindow_->setName(muc.getNode());
chatWindow_->onClosed.connect(boost::bind(&MUCController::handleWindowClosed, this));
muc_->onJoinComplete.connect(boost::bind(&MUCController::handleJoinComplete, this, _1));
muc_->onJoinFailed.connect(boost::bind(&MUCController::handleJoinFailed, this, _1));