diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-05-12 10:52:07 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-05-12 10:52:07 -0600 |
commit | 34489687667ba5622ad3ba109381ee4c39da24e5 (patch) | |
tree | 07bd6b25d962a5f77d7c44a40ad01ce79af89304 /src/gui/partywindow.cpp | |
parent | a2aa7c577b6d69b8185111a8ea8781957ce45b38 (diff) | |
download | mana-34489687667ba5622ad3ba109381ee4c39da24e5.tar.gz mana-34489687667ba5622ad3ba109381ee4c39da24e5.tar.bz2 mana-34489687667ba5622ad3ba109381ee4c39da24e5.tar.xz mana-34489687667ba5622ad3ba109381ee4c39da24e5.zip |
Show party name in party window
Diffstat (limited to 'src/gui/partywindow.cpp')
-rw-r--r-- | src/gui/partywindow.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gui/partywindow.cpp b/src/gui/partywindow.cpp index b13f4b0b..52a7b97e 100644 --- a/src/gui/partywindow.cpp +++ b/src/gui/partywindow.cpp @@ -65,6 +65,16 @@ PartyWindow::~PartyWindow() delete_all(mMembers); } +void PartyWindow::setPartyName(std::string name) +{ + setCaption(strprintf(_("Party (%s)"), name.c_str())); +} + +void PartyWindow::clearPartyName() +{ + setCaption(_("Party")); +} + PartyMember *PartyWindow::findMember(int id) const { PartyList::const_iterator it = mMembers.find(id); |